/*======================================================
ARJUNA PLANNERS
MAIN.CSS - Global styles
Contents: reset, variables, base, typography, layout,
buttons, header, check list, responsive, temp patches
======================================================*/


/*======================================================
RESET
======================================================*/

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/*======================================================
ROOT VARIABLES
======================================================*/

:root{

    /* Brand (from logo) */
    --primary:#34495E;
    --primary-dark:#2C3E50;
    --accent:#F1C40F;
    --accent-dark:#D4AC0D;

    --secondary:#6A869B;
    --dark:#16233B;
    --text:#44556B;

    --white:#FFFFFF;
    --light:#F8FAFC;
    --section-bg:#EAECEE;
    --warm:#FFF8DC;
    --border:#E6EDF5;

    --shadow-sm:0 4px 12px rgba(0,0,0,.06);
    --shadow-md:0 10px 30px rgba(0,0,0,.10);
    --shadow-lg:0 22px 55px rgba(0,0,0,.12);

    --radius-sm:12px;
    --radius:18px;
    --radius-lg:26px;

    --transition:.30s ease;

    --header-h:82px;
}


/*======================================================
BASE
======================================================*/

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
    scroll-padding-top:var(--header-h);
}

body{
    font-family:'Inter',sans-serif;
    color:var(--dark);
    background:var(--white);
    line-height:1.6;
    overflow-x:clip;
    padding-top:var(--header-h);   /* room for the fixed header */
}

/* Prevent body scroll when mobile menu is open */
body.menu-open{
    overflow:hidden;
}


/*======================================================
GLOBAL ELEMENTS
======================================================*/

img{
    display:block;
    max-width:100%;
    height:auto;
}

picture,
svg{
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input,
textarea,
select{
    font:inherit;
}

ul{
    list-style:none;
}

section{
    width:100%;
    position:relative;
}


/*======================================================
TYPOGRAPHY
======================================================*/

h1,h2,h3,h4,h5,h6{
    font-family:'Open Sans',sans-serif;
    color:var(--dark);
    line-height:1.15;
    font-weight:700;
}

p{
    font-family:'Inter',sans-serif;
    color:var(--text);
    font-size:16px;
    line-height:1.7;
}

/* Hero */
.hero-title{
    font-size:56px;
    font-weight:700;
    line-height:1.12;
    letter-spacing:-0.03em;
    color:var(--dark);
}

.hero-subtitle{
    font-size:20px;
    line-height:1.8;
    color:var(--text);
}

/* Section header */
.section-header{
    max-width:760px;
    margin:0 auto 80px;
    text-align:center;
}

.section-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 22px;
    border-radius:999px;
    background:var(--primary);
    color:var(--white);
    font-size:13px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:24px;
}

.section-title{
    font-size:48px;
    font-weight:700;
    line-height:1.15;
    letter-spacing:-0.02em;
    color:var(--dark);
    margin-bottom:24px;
}

.section-title span{
    color:var(--secondary);
}

.section-subtitle{
    font-size:20px;
    line-height:1.8;
    color:var(--text);
}

/* Cards */
.card-title{
    font-size:22px;
    font-weight:700;
    line-height:1.3;
    color:var(--dark);
    margin-bottom:10px;
}

.card-text{
    font-size:16px;
    line-height:1.7;
    color:var(--text);
}

.feature-number{
    font-family:'Open Sans',sans-serif;
    font-size:56px;
    font-weight:300;
    line-height:1;
    color:#D8E0E8;
}

/* FAQ */
.faq-question{
    font-size:21px;
    font-weight:600;
    line-height:1.4;
}

.faq-answer{
    font-size:16px;
    line-height:1.8;
}

.small-text{
    font-size:14px;
    line-height:1.6;
    color:#6B7280;
}


/*======================================================
LAYOUT SYSTEM
======================================================*/

.container{
    width:min(1400px,100%);
    margin-inline:auto;
    padding-inline:24px;
}

.section{
    padding:100px 0;
}

.content-sm{ max-width:720px;  margin:0 auto; }
.content-md{ max-width:960px;  margin:0 auto; }
.content-lg{ max-width:1200px; margin:0 auto; }
.content-xl{ max-width:1400px; margin:0 auto; }

.grid-2{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:48px;
}

.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:32px;
}


/*======================================================
BUTTONS
======================================================*/

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 34px;
    border:none;
    border-radius:14px;
    font-family:'Inter',sans-serif;
    font-size:16px;
    font-weight:700;
    line-height:1;
    text-decoration:none;
    cursor:pointer;
    transition:all .30s ease;
    white-space:nowrap;
}

/* Dark slate button */
.btn-primary{
    background:var(--primary);
    color:var(--white);
    box-shadow:var(--shadow-md);
}
.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
}
.btn-primary:active{
    transform:translateY(0);
}

/* Yellow Buy Now button (slate text on yellow) */
.btn-accent{
    background:var(--accent);
    color:var(--primary);
    box-shadow:0 12px 28px rgba(241,196,15,.30);
}
.btn-accent:hover{
    background:var(--accent-dark);
    transform:translateY(-3px);
}
.btn-accent:active{
    transform:translateY(0);
}

/* Outline / secondary button */
.btn-secondary{
    background:var(--white);
    color:var(--dark);
    border:1px solid var(--border);
}
.btn-secondary:hover{
    border-color:var(--primary);
    transform:translateY(-3px);
}

/* Footer button */
.site-footer-btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-width:340px;
    padding:18px 34px;
    background:var(--accent);
    color:var(--primary);
    font-weight:700;
    font-size:17px;
    border-radius:999px;
    text-decoration:none;
    transition:.3s;
    box-shadow:0 15px 35px rgba(241,196,15,.28);
}
.site-footer-btn:hover{
    background:var(--accent-dark);
    transform:translateY(-3px);
}


/*======================================================
HEADER
======================================================*/

.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:var(--header-h);
    background:var(--white);
    border-bottom:1px solid rgba(0,0,0,.06);
    box-shadow:0 4px 20px rgba(0,0,0,.05);
    z-index:1000;
}

.header-container{
    width:min(1400px,100%);
    height:var(--header-h);
    margin:0 auto;
    padding:0 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
}

/* Logo */
.logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}
.logo img{
    width:auto;
    height:55px;
    display:block;
}

/* Desktop navigation */
.main-nav{
    flex:1;
    display:flex;
    justify-content:center;
}

.main-nav ul{
    display:flex;
    align-items:center;
    gap:34px;
}

.main-nav li{
    display:flex;
}

.main-nav a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
    padding:0;
    color:var(--dark);
    font-size:17px;
    font-weight:700;
    transition:.3s;
}
.main-nav a:hover{
    color:var(--secondary);
}

.main-nav a:not(.btn)::after{
    content:"";
    position:absolute;
    bottom:-6px;
    left:0;
    width:0;
    height:3px;
    border-radius:3px;
    background:var(--accent);
    transition:.3s;
}
.main-nav a:not(.btn):hover::after{
    width:100%;
}

/* Header button */
.desktop-btn{
    display:flex;
    flex-shrink:0;
}

.main-nav li.mobile-only{
    display:none;
}

/* Hamburger */
.menu-toggle{
    display:none;
    width:46px;
    height:46px;
    border:none;
    background:none;
    cursor:pointer;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:6px;
}
.menu-toggle span{
    width:28px;
    height:3px;
    background:var(--dark);
    border-radius:999px;
    transition:.35s;
}
.menu-toggle.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2){
    opacity:0;
}
.menu-toggle.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}


/*======================================================
CHECK LIST (logo checkmark motif)
======================================================*/

.check-list{
    list-style:none;
}
.check-list li{
    position:relative;
    padding-left:34px;
    margin-bottom:12px;
    color:var(--text);
}
.check-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:2px;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--accent);
    color:var(--primary);
    font-size:.8rem;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
}


/*======================================================
RESPONSIVE
======================================================*/

@media (max-width:1200px){

    .section{ padding:90px 0; }

    .hero-title{ font-size:50px; }
    .section-title{ font-size:44px; }
}

@media (max-width:991px){

    .section{ padding:80px 0; }
    .section-header{ margin-bottom:60px; }

    .hero-title{ font-size:44px; }
    .section-title{ font-size:40px; }
    .section-subtitle{ font-size:18px; }
    .card-title{ font-size:21px; }

    .grid-2,
    .grid-3{
        grid-template-columns:1fr;
    }

    /* Mobile menu */
    .menu-toggle{ display:flex; }
    .desktop-btn{ display:none; }
    .main-nav li.mobile-only{ display:flex; }

    .main-nav{
        position:fixed;
        top:var(--header-h);
        left:0;
        width:100%;
        display:none;
        background:var(--white);
        padding:24px 28px 32px;
        border-bottom:1px solid var(--border);
        box-shadow:0 20px 30px rgba(0,0,0,.08);
    }
    .main-nav.open{
        display:block;
    }
    .main-nav ul{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }
    .main-nav a{
        height:auto;
        padding:4px 0;
    }
    .main-nav a:not(.btn)::after{
        bottom:-2px;
    }
    .main-nav a.btn{
        padding:16px 34px;
        color:var(--primary);
    }
}

@media (max-width:768px){

    .section{ padding:70px 0; }
    .section-header{ margin-bottom:50px; }
    .container{ padding-inline:20px; }

    .hero-title{ font-size:36px; }
    .hero-subtitle{ font-size:18px; }
    .section-title{ font-size:32px; }
    .section-subtitle{ font-size:17px; }
    .card-title{ font-size:20px; }
    .card-text{ font-size:15px; }
    .feature-number{ font-size:40px; }
    .faq-question{ font-size:18px; }

    .logo img{ height:46px; }
}


/*======================================================
TEMPORARY PATCHES (from your old file)
Delete these once the cause is found. They were forcing
the footer, final CTA and page scroll to show.
======================================================*/

.site-footer{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    z-index:9999 !important;
}

.final-cta{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
}

html,
body{
    height:auto !important;
    min-height:auto !important;
}

body{
    overflow-y:auto !important;
}