:root {
    /* Light mode (default) */
    --bg-color: linear-gradient(135deg, #fff 0%, #fff 100%);
    --text-color: #1a1e2a;
    --accent-color: #2a6ff5;
    --card-color: #ffffff;
    --secondary-color: #f8f9fa;
    --logo-color: #1a1e2a;
    --nav-color: #1a1e2a;
}

/* Cache buster - v2.3 - Force hamburger visibility */

body.dark-mode {
    /* Dark mode overrides */
    --bg-color: linear-gradient(135deg, #1a1e2a 0%, #2d3445 100%);
    --text-color: #ffffff;
    --accent-color: #4f8df9;
    --card-color: #252a37;
    --secondary-color: #1f2937;
    --logo-color: #ffffff;
    --nav-color: #ffffff;
}

body.dark-mode .social-icon {
    color: #4f8df9;
}

body.dark-mode .social-icon:hover {
    color: #2a6ff5;
}

body.dark-mode .form-group textarea,
body.dark-mode .form-group input[type="number"],
body.dark-mode .form-group input[type="text"],
body.dark-mode .form-group input[type="email"],
body.dark-mode .form-group input[type="tel"],
body.dark-mode .form-group select {
    color: #1a1e2a;
    background-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

html, body {
    background: var(--bg-color);
    background-attachment: fixed;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

@media (max-width: 768px) {
    html, body {
        background: var(--bg-color) !important;
        min-height: 100vh;
        overflow-x: hidden !important;
    }
    
    /* Show hamburger menu on ALL pages */
    .hamburger {
        display: block !important;
        color: var(--text-color) !important;
        background: none !important;
        border: none !important;
        font-size: 24px !important;
        cursor: pointer !important;
        padding: 10px !important;
        z-index: 1001 !important;
    }
    
    /* Hide horizontal navigation on mobile */
    .nav-links {
        display: none !important;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--card-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid var(--secondary-color);
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid var(--secondary-color);
        text-align: center;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-color);
    background-attachment: fixed;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--logo-color);
    text-decoration: none;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--logo-color);
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-right: auto;
    margin-left: 40px;
}

/* Force hide nav-links on mobile screens */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .nav-links.active {
        display: flex !important;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--card-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid var(--secondary-color);
    }
    .nav-links.active a {
        padding: 15px 0;
        border-bottom: 1px solid var(--secondary-color);
        text-align: center;
    }
    .nav-links.active a:last-child {
        border-bottom: none;
    }
}

.nav-links a {
    color: var(--nav-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.theme-toggle {
    margin-left: 20px;
    background: var(--secondary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

/* Force show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block !important;
        color: var(--text-color) !important;
        background: none !important;
        border: none !important;
        font-size: 24px !important;
        cursor: pointer !important;
        padding: 10px !important;
        z-index: 1001 !important;
    }
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 141, 249, 0.1) 0%, rgba(79, 141, 249, 0) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 30px;
    font-weight: 400;
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none !important;
}

.ios-btn {
    background: #000;
    color: white;
}

.android-btn {
    background: #3ddc84;
    color: #000;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stats {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.stats-icon {
    font-size: 20px;
    color: gold;
}

.stats-text {
    font-weight: 600;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

.app-screenshot {
    width: 92%;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.hero-image.desktop-image .app-screenshot {
    width: 580px;
    max-width: 90vw;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-image.mobile-image .app-screenshot {
    width: 320px;
    max-width: 90vw;
    height: auto;
    display: block;
    margin: 0 auto;
}

.app-screenshot:hover {
    transform: translateY(-5px);
}

.section-title {
    text-align: center;
    padding: 80px 0 40px;
}

.section-title h2 {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.section-subtitle {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.centered-subtitle {
    text-align: center;
    display: block;
}

.section-subtitle-decoration {
    position: relative;
    display: inline-block;
    margin: 15px auto 40px;
}

.section-subtitle-decoration p {
    position: relative;
    padding: 0 20px;
    background: var(--card-color);
    z-index: 1;
    display: inline-block;
    font-size: 18px;
}


.section-subtitle-decoration::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-color);
    z-index: 0;
}

.features {
    padding: 100px 0;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(42, 111, 245, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.features-text {
    max-width: 600px;
}

.features-heading {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--text-color);
    line-height: 1.2;
}

.features-description {
    font-size: 18px;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--card-color);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #4f8df9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.feature-content p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.5;
}

.features-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.cta-button {
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background: #3a7be0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 111, 245, 0.3);
}

.cta-button-secondary {
    color: var(--accent-color);
    padding: 15px 30px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: var(--accent-color);
    color: white;
}

.features-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(135deg, #1a1e2a, #2d3445);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.mobile-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.app-interface {
    padding: 30px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    margin-bottom: 30px;
}

.status-bar {
    height: 4px;
    width: 40px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto 20px;
}

.app-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1e2a;
}

.balance-card {
    background: linear-gradient(135deg, var(--accent-color), #4f8df9);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.balance-card p {
    margin: 0 0 8px 0;
    opacity: 0.9;
    font-size: 14px;
}

.balance-card h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.action-btn {
    background: white;
    padding: 20px 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.action-btn i {
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: block;
}

.action-btn span {
    font-size: 12px;
    font-weight: 600;
    color: #1a1e2a;
}

/* Terms and Conditions Page Styles */
.terms-section {
    padding: 60px 0;
    min-height: 100vh;
}

.accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: var(--card-color);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.accordion-btn {
    width: 100%;
    padding: 20px 25px;
    background: var(--card-color);
    color: var(--text-color);
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-btn:hover {
    background: var(--secondary-color);
}

.accordion-btn::after {
    content: '+';
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.accordion-btn[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 25px;
    background: var(--card-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content.show {
    padding: 25px;
}

.terms-content {
    line-height: 1.8;
    color: var(--text-color);
}

.terms-content h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.terms-content h3 {
    color: var(--text-color);
    margin: 25px 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.terms-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.terms-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.terms-content li {
    margin-bottom: 8px;
}

.terms-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.terms-content a:hover {
    text-decoration: underline;
}

/* Tabs Styling */
.tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    background: var(--secondary-color);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    background: rgba(42, 111, 245, 0.1);
}

.tab-btn.active {
    background: var(--accent-color);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RTL Support for Arabic */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl h2, .rtl h3 {
    text-align: right;
}

.rtl ul {
    padding-right: 25px;
    padding-left: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .terms-section {
        padding: 40px 0;
    }
    
    .accordion-btn {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .accordion-content.show {
        padding: 20px;
    }
    
    .terms-content h2 {
        font-size: 20px;
    }
    
    .terms-content h3 {
        font-size: 16px;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Dark mode support */
body.dark-mode .accordion-item {
    border-color: #444;
}

body.dark-mode .accordion-btn:hover {
    background: #2d3445;
}

body.dark-mode .tabs {
    background: #2d3445;
    border-bottom-color: #444;
}

body.dark-mode .tab-btn:hover {
    background: rgba(79, 141, 249, 0.2);
}

/* Dark mode styles for merchant hero - FORCE OVERRIDE */
body.dark-mode .merchant-hero h1,
body.dark-mode .merchant-hero p,
body.dark-mode .merchant-hero-content h1,
body.dark-mode .merchant-hero-content p {
    color: white !important;
    opacity: 1 !important;
}

/* Merchant Page Styles */
.merchant-hero {
    background-color: var(--secondary-color);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--text-color);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.merchant-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.merchant-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.merchant-form-section {
    padding: 80px 0 120px;
}

.merchant-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-color);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.form-header p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 16px;
}

.merchant-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.phone-input .country-code {
    background: white;
    padding: 12px 15px;
    border-right: 1px solid #e1e5e9;
    color: #000000 !important;
font-weight: 500;
color: var(--text-color);
white-space: nowrap;
}

.phone-input input {
border: none;
padding: 12px 15px;
flex: 1;
font-size: 16px;
color: var(--text-color);
background: white;
}

.phone-input input:focus {
outline: none;
}

.merchant-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

body.dark-mode .merchant-form select,
body.dark-mode .merchant-form select option {
    color: #000 !important;
}

.merchant-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(79, 141, 249, 0.2);
}

.merchant-submit {
    width: 100%;
    margin-top: 20px;
    padding: 18px 30px;
    font-size: 16px;
}

/* REMOVED - Consolidated into main mobile media query */

.platform-section {
    background: var(--card-color);
    padding: 40px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.platform-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.platform-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.platform-content p {
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 30px;
    text-align: justify;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.benefits {
    padding: 80px 0;
}

.benefits-heading {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--card-color);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-card p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.5;
    font-weight: 400;
    padding-left: 34px;
}

.benefit-card i {
    color: var(--accent-color);
    font-size: 24px;
}

.timeline-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 50px;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-icon {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.timeline-content {
    background: var(--card-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

.captcha-group {
    background: rgba(42, 111, 245, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(42, 111, 245, 0.2);
}

.captcha-group label {
    color: var(--accent-color);
    font-weight: 600;
}

.captcha-group #captcha-question {
    font-weight: 700;
    color: var(--text-color);
}

.testimonials-section {
    background: var(--card-color);
    padding-bottom: 200px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--card-color);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    font-weight: 400;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    opacity: 0.7;
    font-size: 14px;
    font-weight: 400;
}

.contact-section {
    padding-bottom: 120px;
}

.section-title {
    margin-bottom: 10px;
}

.centered-subtitle {
    margin-top: 0;
    margin-bottom: 60px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    background: var(--card-color);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #4f8df9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.contact-card h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-card p {
    margin: 5px 0;
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form {
    background: var(--card-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: inherit;
}

.form-group input,
.form-group textarea {
    width: 90%;
    padding: 12px 15px;
    border: 1px solid #eaeff5;
    border-radius: 6px;
    background: #eaeff5;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(79, 141, 249, 0.2);
}

.form-submit {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

.form-submit:hover {
    background: #3a7be0;
    transform: translateY(-2px);
}

.footer {
    background-color: var(--card-color);
    padding: 60px 0 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    opacity: 0.8;
    font-weight: 400;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    font-weight: 400;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eaeff5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eaeff5;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
    font-weight: 400;
}

/* Footer download buttons vertical layout */
.footer-download .download-buttons.vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-top: 20px;
}

.footer-download .download-btn {
    width: 200px;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 992px) {
    .features-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .features-text {
        max-width: none;
    }
    
    .features-cta {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
    
    .footer-download .download-buttons.vertical {
        align-items: stretch;
    }
    .footer-download .download-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .features-heading {
        font-size: 32px;
    }
    
    .features-description {
        font-size: 16px;
    }
    
    .features-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-pattern {
        display: none;
    }
    
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
        margin-bottom: 30px;
    }
    
    .platform-container,
    .benefits-grid,
    .testimonials-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    /* Global hamburger menu for all pages on mobile */
    .hamburger {
        display: block !important;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--card-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid var(--secondary-color);
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid var(--secondary-color);
        text-align: center;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    /* Merchant page mobile styles */
    .merchant-hero {
        display: none !important;
    }
    
    .merchant-form-container {
        padding: 30px 20px;
      
        max-width: 95%;
        width: 95%;
    }
    
    .merchant-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-icon {
        left: -30px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .features-heading {
        font-size: 32px;
        padding: 10px;
    }
    
    .map-placeholder {
        display: none !important;
    }
    
    .section-title {
        padding: 60px 0 30px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .platform-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .platform-image {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    .video-container iframe {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .features-heading {
        font-size: 26px;
    }
    
    .benefits-heading,
    .platform-content h3 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-download .download-btn {
        width: 120px;
        font-size: 13px;
        padding: 8px 0;
    }
    .footer-download .download-buttons.vertical {
        gap: 8px;
    }
}
