/* RESET & BASE */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: #1f2933;
    line-height: 1.6;
    background-color: #ffffff;
}


.page-content {
    flex: 1;
}

h1, h2, h3 {
    line-height: 1.25;
    margin-bottom: 15px;
}

h1 {
    font-size: 44px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}

p {
    font-size: 17px;
    max-width: 720px;
}

/* LAYOUT */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.container {
    max-width: 1200px;   /* controls total width */
    margin: 0 auto;      /* centers content */
    padding: 0 24px;     /* adds space left/right */
}
/* HEADER */
.header {
    background-color: #0b1c2d;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

html {
    overflow-y: scroll;
}
.logo {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
}

/* HEADER STYLING */
.header {
    background-color: #0b1c2d;
    padding: 22px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.header-flex {
    display: flex !important;
    flex-direction: row !important;      /* Forces horizontal layout */
    justify-content: flex-end !important; /* Pushes menu to the right */
    align-items: center !important;
    width: 100% !important;
    padding: 0 20px;
}
#nav-menu {
    display: flex; /* REMOVED !important so mobile can override this */
    gap: 20px; 
    margin-left: auto !important; 
    margin-right: 0 !important;
}
.menu-toggle {
    margin-right: auto !important; /* Pushes the menu away from the toggle */
}
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #ffffff; /* This makes the icon white */
}
.logo {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.6px;
}

/* NAVIGATION */
.nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* INACTIVE LINKS */
.nav-link {
    color: rgba(255, 255, 255, 0.55); /* dimmed by default */
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
    border-bottom: none; /* keep this here */
}

.nav-link {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* Hover effect for inactive links */
.nav-link:hover {
    color: #ffffff !important;
}

/* ACTIVE UNDERLINE — thinner */
.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #3da9fc;
}

/* ACTIVE PAGE */
.nav-link.active {
    color: #ffffff !important;
    border-bottom: none !important;
}
.nav-link.active {
    color: #ffffff !important;
}


/* =========================================
   1. DESKTOP BASE STYLES (Nav Button)
   ========================================= */
.nav-button {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    color: #3da9fc !important;             /* Blue text for the dark desktop header */
    border: 1.8px solid #3da9fc !important;
    padding: 8px 22px;
    border-radius: 999px;
    background-color: transparent !important; /* Blends with header */
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.nav-button:hover,
.nav-button.active {
    background-color: #3da9fc !important; 
    color: #ffffff !important;            
    border-color: #3da9fc !important;
}

.nav-button::after {
    content: none !important;
}

/* Remove underline from Pricing button */
.nav-button::after {
    content: none !important;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ff9a3d;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.icon-circle i {
    font-size: 32px;
    color: #333;
}
.problem-section,
.solution-section {
    padding: 80px 0;
}

.section-title {
    font-size: 34px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
}

.section-header::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #f5c400;
    margin: 20px auto 0;
    border-radius: 2px;
}

.problem-grid,
.solution-grid {
    display: grid;
    gap: 30px;
}

.problem-grid {
    grid-template-columns: repeat(3, 1fr);
}

.solution-grid {
    grid-template-columns: repeat(2, 1fr);
}

.problem-card,

.solution-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover,
.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.problem-card h3,
.solution-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.problem-card p,
.solution-card p {
    font-size: 16px;
    color: #555;
}

/* =========================================
   2. MOBILE OVERRIDES (Max-width 768px)
   ========================================= */
@media (max-width: 768px) {
    /* --- Header & Layout Fixes --- */
    .header-flex {
        display: flex !important;
        justify-content: space-between !important; /* Forces logo left, hamburger right */
        align-items: center;
        padding: 10px 20px;
    }

    .container {
        text-align: center;
        /* Removed "display: block" as it breaks the header flexbox */
    }

    /* --- Hamburger Menu Button --- */
    .menu-toggle {
        display: block !important;
        color: #ffffff;
        background: transparent;
        border: none;
        font-size: 28px;
        cursor: pointer;
        z-index: 10000; /* Keeps it clickable above the menu */
    }

/* --- The Mobile Menu Container --- */
    #nav-menu {
        display: none !important; /* HIDDEN BY DEFAULT */
        background-color: #ffffff !important;
        position: absolute;
        top: 70px; 
        left: 0;
        width: 100%;
        z-index: 9999;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    #nav-menu.active {
        display: flex !important; /* SHOWS WHEN CLICKED */
    }

    /* --- Mobile Navigation Links --- */
    .nav-link {
        color: #1a2a3a !important; 
        font-weight: 600;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
        display: block;
    }

    .nav-link:hover {
        color: #007bff !important; 
        font-weight: 600 !important; 
    }

    .nav-link.active {
        color: #007bff !important; 
        font-weight: 800 !important;
    }

    /* --- Mobile Download Button --- */
    .nav-button {
        background-color: #3da9fc !important; /* Bright blue background */
        color: #ffffff !important;            /* Crisp white text */
        border: none !important;              /* Remove border */
        font-weight: 600;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 15px;
        border-radius: 8px !important; 
    }

    /* --- Hero Section & Grid Resets --- */
    .hero {
        padding: 60px 20px;
    }
    .hero h1 {
        font-size: 30px;
        line-height: 1.3;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column; 
        gap: 15px;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    .grid-3, .grid-2, .grid-2x2, .about-grid, .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* --- Destroy floating logo on mobile --- */
    img.floating-logo, 
    .floating-logo {
        display: none !important;
    }
}

/* =========================================
   3. EXTRA SMALL SCREENS (Max-width 600px)
   ========================================= */
@media (max-width: 600px) {
    .card {
        padding: 22px;
    }
    h2 {
        font-size: 26px;
    }
    p {
        font-size: 15px;
    }
}

.problem-section {
    background: #F7F7F7;
}
.solution-section {
    background: #FFFFFF;
}
.how-it-works-section {
    background: #FFF3E6;
}

.cta-section {
    background: #1F1F1F;
    color: #FFFFFF;
}

.who-section {
    background: #F7F7F7;
    padding: 80px 0;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.who-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.who-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.who-card p {
    font-size: 16px;
    color: #555;
}


.nav a.active {
    color: #f5c400; /* yellow */
    border-bottom: 2px solid #f5c400;
}
.nav a {
    color: #ffffff;
    margin-left: 24px;
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    opacity: 0.85;
}

/* BUTTONS */
.btn {
    /* 1. Force Reset */
    margin: 0 !important;      /* Removes any hidden theme margins */
    vertical-align: middle;    /* Fallback for non-flex environments */
    line-height: 1;            /* Prevents text-height from pushing the button */
    
    /* 2. Layout */
    display: inline-flex;
    align-items: center;       /* Centers text vertically */
    justify-content: center;    /* Centers text horizontally */
    
    /* 3. Sizing */
    height: 54px;              
    padding: 0 30px;           
    box-sizing: border-box;    /* Ensures border is INSIDE the 54px */
    
    /* 4. Aesthetics */
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff8800;
    color: white;
    border: 2px solid #ff8800; /* Matching border for equal math */
}
.btn-primary {
    background-color: #ff8800;
    color: white;
    border: 2px solid #ff8800; /* We add a border here too so the height stays the same */
}

.btn-primary:hover {
    background-color: #e67e00;
}
.btn-secondary:hover {
    background-color: rgba(255, 136, 0, 0.1);
}
.btn-primary:hover {
    background-color: #e67a00;
    border-color: #e67a00;
}

.btn-secondary {
    background-color: transparent;
    color: #ff8800;
    border: 2px solid #ff8800;
}
.btn-secondary {
    background-color: transparent;
    color: #ff8800;
    border: 2px solid #ff8800;
}

/* HERO */
.hero {
    background-color: #122b40;
    color: #ffffff;
    padding: 100px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}
.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    color: #dbe5ec;
    margin-bottom: 15px;
    max-width: 920px;
}
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 420px;
    height: 260px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dbe5ec;
    font-size: 18px;
    font-weight: 500;
}

/* MODAL OVERLAY */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);

    /* centering */
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* MODAL IMAGE */
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* CLOSE BUTTON */
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* NAVIGATION ARROWS */
.modal-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: #fff;
    font-size: 40px;
    user-select: none;
}

.modal-nav.prev { left: 20px; }
.modal-nav.next { right: 20px; }

.privacy-section {
    padding: 100px 0; /* More breathing room above and below */
    background-color: #f8f9fa;
}
.privacy-card {
    background: #ffffff;
    max-width: 1000px !important; /* The wide card base */
    margin: 0 auto;
    padding: 60px 50px; 
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* FIX: This allows the statement to spread wider */
.privacy-description {
    max-width: 900px !important; /* Increased from the standard narrow width */
    margin: 0 auto 40px auto !important;
    line-height: 1.6;
    /* Keeps your original font styles but allows more horizontal space */
}

.privacy-card .icon-circle {
    background: #ff9800; /* Orange background per reference */
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
}

/* Ensure the footer note also spans the width */
.privacy-note {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.privacy-card h2 {
    color: #0a192f;
    margin-bottom: 30px;
    font-size: 34px;
    font-weight: 700;
}

.privacy-note {
    font-weight: 900;
    color: #444; /* Darker note for emphasis */
    letter-spacing: 1.5px;
    font-size: 1.1rem;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
/* HERO PREVIEW IMAGE */
.hero-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

.hero-preview:hover {
    transform: scale(1.03);
}
.modal-caption {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    margin-top: 15px;
    opacity: 0.9;
}
.hero-preview-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.hero-preview-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.hero-preview-box:hover .hero-preview-label {
    opacity: 1;
}

.hero p {
    margin: 20px auto 40px;
    font-size: 18px;
    color: #dbe5ec;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center; /* This aligns their centers vertically */
    justify-content: flex-start; /* Or center, depending on your layout */
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.light-bg {
    background-color: #f4f6f8;
}

.center-text {
    text-align: center;
    margin: auto;
}

.container.center-text {
    display: flex;
    flex-direction: column;
    align-items: center !important;
}

.container.center-text ul {
    align-self: flex-start;
    text-align: left;
}

.container.center-text p {
    align-self: flex-start;
    text-align: left;
}

.info-card {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    text-align: left;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin: 30px auto;
}

.info-card p {
    margin-top: 0;
    margin-bottom: 10px;
}

.info-card ul {
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 20px;
}
.btn-primary {
    margin-top: 20px;
}


.about-hero {
    padding: 120px 20px 80px;
    text-align: center;
}

.about-section {
    padding: 90px 20px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.about-container p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.about-container p {
    max-width: 760px;
}
.about-container h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.about-container h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.about-container p {
    font-size: 17px;
    line-height: 1.7;
    color: #333; /* IMPORTANT: readable on white */
}
.about-grid-section {
    padding: 100px 20px;
    background-color: #f8fafc;
}

.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.about-grid-item {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
}

.about-grid-item h3 {
    font-size: 22px;
    margin-bottom: 14px;
    
}

.about-grid-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}
.about-intro {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}
.about-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.about-list li {
    font-size: 16px;
    margin-bottom: 10px;
}
.about-why {
    padding: 100px 20px;
    background: #f7f7f7;
}

.about-why-container {
    max-width: 1100px; /* increased width */
    margin: 0 auto;
}

.about-why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 40px; /* more breathing space */
    text-align: center; /* center everything */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Title */
.about-why-title {
    font-size: 30px;
    margin-bottom: 25px;
    color: #111;
}
/* Text */
.about-why-text {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
    max-width: 1000px; /* keeps lines readable */
    margin-left: auto;
    margin-right: auto;
}

.about-why-title::before {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #f5c400;
    margin: 0 auto 20px;
}


/* Highlight line */
.about-why-text strong {
    color: #000;
}
/* MOBILE */
@media (max-width: 768px) {
    .about-why-card {
        padding: 40px 25px;
    }

    .about-why-title {
        font-size: 26px;
    }

    .about-why-text {
        font-size: 16px;
    }
}

/* GRIDS */
.grid-3, .grid-2 {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lead-text {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin: 0 auto 24px auto; /* centers block */
    max-width: 720px;
    text-align: center;
}

/* CARDS */
.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.pricing-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 900px;
    margin: auto;
}

.pricing-card {
    flex: 1;
    padding: 32px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-align: center;
}

.pricing-card.highlight {
    border: 2px solid #ff9800;
}
.pricing-card ul {
    text-align: left;
    margin: 20px auto;
    padding-left: 20px;
}

.pricing-card li {
    margin-bottom: 8px;
}
.license-panel h2 {
    max-width: 100%;
    font-size: 22px;
}
.license-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.license-box input {
    width: 60px;
    text-align: center;
    font-size: 18px;
}
.purchase-container {
    max-width: 500px;
    margin: auto;
}

/* 1. Container Centering */
#purchase .container.center-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

/* 2. The Plus and Minus Buttons */
#purchase .license-box button {
    width: 45px !important;      /* Larger, square buttons */
    height: 45px !important;
    font-size: 24px !important;   /* Larger icons */
    font-weight: bold !important;
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

/* Hides the up/down arrows in number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Fix for Firefox */
}

/* 3. The Number Input (Centered) */
#purchase #licenseQty {
    width: 60px !important;      /* Slightly wider for balance */
    height: 45px !important;     /* Matches button height exactly */
    font-size: 22px !important;   /* Larger number */
    font-weight: 700 !important;
    text-align: center !important; /* Horizontal Center */
    
    /* Vertical Center Fixes */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 45px !important;
    padding: 0 !important;
    
    border-top: 1px solid #ccc !important;
    border-bottom: 1px solid #ccc !important;
    border-left: none !important;
    border-right: none !important;
    margin: 0 !important;
    outline: none;
    appearance: textfield;       /* Removes arrows */
    -moz-appearance: textfield;
}

/* 4. The "One license..." text */
#purchase .small-text {
    display: block !important;
    text-align: center !important; /* Horizontal centering */
    margin: 20px auto 0 auto !important; /* Automatic side margins center the block */
    width: 100% !important; /* Spans the full width of the page */
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    color: #333 !important;
}

/* 5. Wrapper for the row */
#purchase .license-box {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

#purchase .container {
    width: 100% !important;
    display: block !important;
}

.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.purchase-form input {
    height: 44px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.purchase-form button {
    height: 48px;
    font-size: 16px;
    font-weight: 600;
}

.purchase-form input:focus {
    border-color: #ff7a00;
    outline: none;
}

.checkout-sub {
    font-size: 14px;
    color: #666;
    margin-top: -6px;
}
.checkout-section {
    padding: 50px 0;
}

.checkout-grid {
    display: grid;
    /* Changed from 2fr 1fr to 1.2fr 1fr to widen the right side */
    grid-template-columns: 1.5fr 1fr; 
    gap: 110px; /* Slightly reduced gap to prioritize content width */
    align-items: start;
}

.checkout-main h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.checkout-sub {
    color: #666;
    margin-bottom: 30px;
}

.purchase-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 550px; /* Prevents the form from becoming too wide on large screens */
}

.purchase-form input {
    height: 50px;
    padding: 0 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.purchase-form button {
    margin-top: 20px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
}
.thankyou-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.thankyou-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.lead {
    font-size: 1.2rem;
    color: #555;
}

.payfast-note {
    margin-top: 14px;
    font-size: 13px;
    color: #777;
    text-align: center;
}

.checkout-info {
    background: #f8f8f8;
    padding: 30px; /* Increased padding for more "breathing room" */
    border-radius: 8px;
    
    /* 1. INCREASE WIDTH: Pushing the box slightly further to the right */
    width: 100%;
    max-width: 450px; /* Adjust this from 350px to 400px or higher */
    
    /* 2. INCREASE FONT SIZE: Standardizing base text size */
    font-size: 1.1rem; 
    line-height: 1.5;
}
.checkout-info {
   
    border-radius: 8px;
}

/* Enhancing the internal pricing guide box */
#pricing-guide {
    background: rgba(0,0,0,0.04);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ff7a00; /* Matches your focus/button color */
    margin-bottom: 25px;
}

#pricing-guide ul li {
    font-size: 0.95rem; /* Slightly smaller than main total for hierarchy */
    margin-bottom: 5px;
}

#pricing-guide ul {
    list-style: none;
    padding: 0;
    margin: 0;

}
.checkout-info h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.checkout-info p {
    line-height: 1.6;
    margin-bottom: 15px;
}

#unitPriceUsd, #unitPriceZar {
    white-space: nowrap; 
}

.checkout-info p.total {
    font-size: 1.25rem; /* Makes the final total stand out */
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-info ul {
    padding-left: 18px;
    margin-top: 20px;
}

.checkout-info li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.payfast-note {
    margin-top: 12px;
    font-size: 13px;
    color: #777;
    text-align: center;
}

/* LISTS */
.benefits {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 600px;
}

.benefits li {
    padding: 10px 0;
    font-size: 17px;
}

/* STEPS */
.steps {
    max-width: 600px;
    margin: 30px auto;
    font-size: 17px;
}

/* CTA */
.cta {
    background-color: #15283a;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.cta p {
    margin: 15px auto 30px;
}

/* FOOTER */
/* Ensure the footer background stays dark navy to match your brand */
.footer {
    background: #0a192f !important; /* Your dark navy background */
    
    /* FIX: Change margin to 0 to remove the white strap */
    margin-top: 0 !important; 
    
    /* Increase padding-top if you want to keep the space between sections */
    padding: 60px 0 40px 0 !important; 
    
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Optional: Very subtle line to separate sections */
}
.cta-contact {
    margin-bottom: 0 !important;
    background: #0a192f; /* Ensure this matches the footer */
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001; /* Higher than the sticky header */
    background-color: #3498db; /* Your brand blue */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#backToTop:hover {
    background-color: #2980b9; /* Slightly darker blue on hover */
    transform: translateY(-5px); /* Gentle lift effect */
}

/* Flexbox to keep everything in one line */
.footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left {
    display: flex !important;
    align-items: center !important;
    gap: 15px;
}

/* SPECIFIC FIX: This prevents the logo from being giant */
.footer-brand-img {
    height: 40px !important;    /* Forces a small size */
    width: auto !important;     /* Keeps proportions */
    display: block !important;
    position: static !important; /* Prevents it from floating like the header */
    filter: none !important;     /* Removes any glow effects from the header logo */
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* LinkedIn Link Styling */
.social-link {
    color: #3498db !important; /* Your brand blue */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #3498db;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3498db;
    color: #ffffff !important;
}
html, body {
    margin: 0;
    padding: 0;
}


.page-content {
    flex: 1;
}

/* CTA + CONTACT COMBINED SECTION */
.cta-contact {
    background-color: #15283a;
    color: #ffffff;
    padding: 30px 0;
}

.cta-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 130px;
    align-items: start;
}

/* Contact Form */
.contact-box h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: inherit;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff8c00;
    outline: none;
}

/* CTA Box */
.cta-box h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 25px;
    color: #dbe5ec;
}


.contact-box,
.cta-box {
    padding-top: 20px;
}

.form-success,
.form-error {
    position: fixed;
    top: 80px; /* just below your menu */
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    z-index: 9999;
    width: auto;
    max-width: 90%;
    padding: 15px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 1;
    transition: opacity 0.6s ease;
}

.form-success {
    background: #e6ffed;
    border-left: 5px solid #22c55e;
    color: #166534;
}

.form-error {
    background: #ffe6e6;
    border-left: 5px solid #e11d48;
    color: #991b1b;
}

/* PRODUCT PAGE — CARD ENHANCEMENTS */
.card {
    max-width: 900px;        /* was 700px */
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 45px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    line-height: 1.7;
    border: 1px solid #e8e8e8;
}

.card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0b1c2d;
    font-weight: 700;
}

.card p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #3a3a3a;
}

.card ul {
    margin: 25px 0 10px;
    padding-left: 22px;
}

.card ul li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #2f2f2f;
}

/* BUTTON IMPROVEMENT */
.card .btn {
    margin-top: 25px;
    padding: 12px 22px;
    font-size: 16px;
}

/* GRID SPACING */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}


/* SECTION SPACING */
.section {
    padding: 40px 0;
}

/* PRODUCT HERO ONLY */
.product-hero {
    padding: 100px 20px 80px;
    background: #f7f7f7;
}

/* Wider container than normal pages */
.product-hero-container {
    max-width: 1000px;   /* <-- this fixes your “too narrow” problem */
    margin: 0 auto;
    text-align: center;
}

.product-hero-content h1 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #111;
}

/* Separate from generic hero-text */
.product-hero-text {
    font-size: 19px;
    line-height: 1.75;
    color: #444;
    max-width: 820px;     /* controlled but wider than before */
    margin: 0 auto;
}

.product-details h3 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #111;
}

.cta-text {
    font-size: 16px;
    margin-bottom: 15px;
    color: #444;
}

/* NEW PRODUCT SECTION */
.new-product-section {
    background: #f4f6f9;
    padding: 90px 0;
    border-top: 1px solid #e2e2e2;
}

.new-product-section h2 {
    font-size: 30px;
    margin-bottom: 18px;
    color: #0b1c2d;
    font-weight: 700;
}

.new-product-section p {
    max-width: 1100px;
    font-size: 17px;
    color: #444;
    line-height: 1.7;
}
/* Center the product card under the menu */
.grid-2 {
    display: flex;
    justify-content: center;
    width: 100%;
}

.grid-2 .card {
    max-width: 1100px;
}

.section .card h3 {
    margin-bottom: 15px;
}
.card.new-product {
    background: #fafbfd;
}
/* Allow text to fill the full card width */
.card p,
.card ul,
.card li {
    max-width: none !important;
}


/* ---------------------------------------------------------
   New How It works
--------------------------------------------------------- */
/* HOW IT WORKS PAGE FIXES */
.how-page .how-section {
    background: #ffffff;
    padding: 80px 0;
}

.how-page .how-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.how-page .how-title-wrapper h1 {
    margin-bottom: 25px;
}
.how-page .how-section {
    background: #f8fafc;
}
.how-page .how-important {
    max-width: 1000px;
    margin: 0 auto 50px auto;
    padding: 18px 26px;
    background: #FFF7E8; /* soft warm tone */
    border-left: 6px solid #FF9A3D; /* brand orange accent */
    border-radius: 12px;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.05),
        0 2px 4px rgba(0,0,0,0.04);
}
.how-page .how-important {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInImportant 0.6s ease forwards;
}

@keyframes fadeInImportant {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.how-page .important-inner {
    font-size: 16px;
    line-height: 1.55;
    color: #333;
    text-align: left;
}
.how-page .important-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.how-page .important-inner::before {
    content: "⚠️";
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}


.how-page .how-flow {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.how-page .how-card {
    display: flex;
    gap: 30px;
    padding: 36px 44px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.6s ease;
}

.how-page .how-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #e9ecef; /* Subtle gray background number */
    line-height: 1;
    margin-bottom: 10px;
}
.how-page .step-number {
    min-width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ff9a3d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
}

.how-page .step-content h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.how-page .step-content p {
    max-width: 100%;
    margin-right: 0;
}
.how-page .step-content {
    flex: 1;
}

/* ---------------------------------------------------------
   HOME PAGE — HOW SECTION
--------------------------------------------------------- */

/* HOME PAGE — HOW SECTION */
.homehow-section {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

/* WRAPPER */
.homehow-wrapper {
    max-width: 1100px;
    margin: 40px auto 50px;
    position: relative;
}

/* FULL LINE BEHIND CIRCLES */
.homehow-line-full {
    position: absolute;
    top: 30px; /* centers through circles */
    left: 10%; 
    right: 10%;
    height: 3px;
    background: #ddd;
    z-index: 1;
}

/* CIRCLES ROW */
.homehow-circles {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    position: relative;
    z-index: 2; /* circles above line */
}

.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0b1c2d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto;
}

/* LABELS ROW */
.homehow-labels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 20px;
    text-align: center;
}

.homehow-labels p {
    font-size: 16px;
    color: #444;
    line-height: 1.4;
    max-width: 160px;
    margin: 0 auto;
}

/* CTA button */
.homehow-cta .how-button {
    display: inline-block;
    padding: 12px 28px;
    background: #FF9A3D;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.homehow-cta .how-button:hover {
    background: #e8872f;
}


/* ---------------------------------------------------------
   PRIVACY SECTION
--------------------------------------------------------- */

.privacy-section {
    padding: 80px 0;
    background: #F7F7F7;
    text-align: center;
}

.privacy-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-section .icon-circle {
    width: 80px;
    height: 80px;
    background: #ff9a3d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.privacy-section h2 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #333;
}

.privacy-section p {
    font-size: 17px;
    line-height: 1.65;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   Q&A SECTION
--------------------------------------------------------- */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}
.faq-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;
}
.faq-item {
    background: #ffffff;
    border-radius: 16px; /* Matches .how-card */
    box-shadow: 0 12px 32px rgba(0,0,0,0.08); /* Matches .how-card */
    margin-bottom: 20px; /* Space between FAQ items */
    border: none; /* Removing border if how-card doesn't have one */
    width: 100%;
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
}
.faq-question {
    padding: 20px 44px; /* Reduced vertical padding, kept 44px side padding to match how-card */
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}
.faq-icon {
    font-size: 24px;
    color: #ff9a3d;
    transition: transform 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}
.faq-answer {
    padding: 0 44px 20px 44px; /* Matches the horizontal alignment of the question and steps */
}
.faq-answer {
    padding: 0 20px 20px;
    color: #555;
    line-height: 1.6;
    /* By default, answers might be hidden depending on your JS toggle */
}

.faq-answer p {
    margin: 12px 0 0;
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-icon {
    color: #007bff;
    font-size: 1.5rem;
}

.faq-section .container {
    max-width: 1000px; /* Matches your .how-flow max-width */
    margin: 0 auto;
    padding: 0 20px; /* Standardizes horizontal gutter */
}

/* Floating Logo - Left Side */
/* Scrolling Logo - moves with page */
.floating-logo {
    position: fixed;
    top: 5px;
    left: 2px;
    height: 160px;
    width: auto;
    z-index: 999999;
    background: transparent;
    padding: 0;
    border-radius: 0;
    transition: transform 0.15s linear; /* smooth movement */
}

.header {
    z-index: 1000;
}

.floating-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}


header .container {
    padding-left: 120px; /* creates space so menu doesn’t overlap logo */
}

.floating-logo {
    opacity: 0.95;
}

.floating-logo:hover {
    opacity: 1;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtext {
    text-align: center;
    max-width: 700px;
    font-size: 18px;
    color: #6b7280; /* slate-500 equivalent */
    line-height: 1.6;
    margin-top: 8px;
   
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto; /* increase from ~60px → 80px */
}
