/* Aadivay — v1 homepage */
:root{
    --navy:#06162f;
    --navy-2:#071d3d;
    --blue:#3159ff;
    --blue-soft:#eaf0ff;
    --orange:#ff8a13;
    --gold:#ffc34d;
    --green:#2ca96b;
    --text:#14213d;
    --muted:#697386;
    --line:#e5eaf3;
    --white:#fff;
    --bg:#f8fbff;
    --shadow:0 16px 45px rgba(27,56,104,.10);
    --radius:18px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#fff;line-height:1.55}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(4,15,33,.96);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.nav-wrap{min-height:72px;display:flex;align-items:center;gap:30px}
.brand{display:inline-flex;align-items:center;gap:10px;color:#fff;font-size:23px;font-weight:800;letter-spacing:-.5px}
.brand-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#162e67,#081b38);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 0 20px rgba(66,132,255,.2)}
.brand-flame{font-size:23px;color:#ff9c21}
.main-nav{display:flex;align-items:center;gap:28px;margin-left:auto}
.main-nav a{font-size:13px;color:#d7dfec;transition:.2s}
.main-nav a:hover{color:#fff}
.nav-actions{display:flex;align-items:center;gap:8px}
.icon-btn,.mobile-menu{border:0;background:transparent;color:#fff;cursor:pointer}
.icon-btn{width:38px;height:38px;border-radius:50%;font-size:23px}
.icon-btn:hover{background:rgba(255,255,255,.08)}
.login-btn{font-size:12px;color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:8px;padding:9px 13px}
.login-btn:hover{border-color:var(--orange)}
.mobile-menu{display:none;font-size:24px}

/* Hero */
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 78% 50%,#123767 0,#071c3b 34%,#040e21 75%);color:#fff;min-height:520px}
.hero:after{content:"";position:absolute;inset:auto 0 0;height:80px;background:linear-gradient(transparent,rgba(0,0,0,.18));pointer-events:none}
.hero-glow{position:absolute;border-radius:50%;filter:blur(2px);opacity:.55}
.glow-one{width:400px;height:400px;right:8%;top:40px;background:radial-gradient(circle,rgba(35,119,255,.25),transparent 68%)}
.glow-two{width:300px;height:300px;left:25%;bottom:-160px;background:radial-gradient(circle,rgba(255,151,31,.2),transparent 68%)}
.hero-grid{position:relative;z-index:2;min-height:520px;display:grid;grid-template-columns:52% 48%;align-items:center}
.hero-copy{padding:70px 0 62px}
.eyebrow{font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:#91b8ff;margin-bottom:14px}
.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:58px;line-height:1.02;letter-spacing:-2px;margin-bottom:22px}
.hero h1 span{background:linear-gradient(90deg,#ff9227,#ffd13f,#a9d83d);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-subtitle{font-size:18px;line-height:1.55;color:#e7edf7;font-weight:650;margin-bottom:26px}
.search-box{width:min(620px,100%);height:54px;display:flex;align-items:center;background:#fff;border-radius:15px;padding:5px 8px 5px 18px;box-shadow:0 14px 35px rgba(0,0,0,.25)}
.search-box input{flex:1;border:0;outline:0;color:#15223b;font-size:14px;background:transparent}
.search-box button{width:43px;height:43px;border:0;border-radius:12px;background:#f0f4fb;color:#18243c;font-size:24px;cursor:pointer}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:12px;font-size:13px;font-weight:750}
.btn-primary{background:linear-gradient(135deg,#ff9b1a,#ff7c13);color:#fff;box-shadow:0 9px 25px rgba(255,137,20,.22)}
.btn-secondary{border:1px solid rgba(255,255,255,.35);color:#fff;background:rgba(255,255,255,.04)}
.learner-strip{display:flex;align-items:center;gap:10px;margin-top:20px;color:#bdc9da;font-size:12px}
.learner-strip strong{color:#ffae2f}
.avatars{display:flex}
.avatars span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#263f70;border:2px solid #06162f;margin-left:-6px;font-size:8px;font-weight:800}
.avatars span:first-child{margin-left:0}

/* CSS hero illustration */
.hero-art{height:100%;min-height:500px;position:relative;display:flex;align-items:center;justify-content:center}
.globe{width:210px;height:210px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#6fb9ff,#19508e 44%,#071a37 72%);border:2px solid rgba(115,188,255,.8);box-shadow:0 0 45px rgba(49,139,255,.38),inset -20px -10px 40px rgba(0,0,0,.5);position:absolute;top:85px;right:20%}
.globe:before,.globe:after{content:"";position:absolute;inset:20px 36px;border:1px solid rgba(156,216,255,.35);border-radius:50%}
.globe:after{transform:rotate(65deg)}
.globe-map{position:absolute;inset:0;display:grid;place-items:center;color:#ffc35c;font-weight:900;font-size:24px;letter-spacing:3px;text-shadow:0 0 10px #ff9f2c;transform:rotate(-12deg)}
.orbit{position:absolute;border:1px solid rgba(92,183,255,.4);border-radius:50%;width:360px;height:120px;transform:rotate(-20deg);top:130px;right:8%}
.orbit-b{width:410px;height:160px;transform:rotate(25deg);border-color:rgba(255,174,64,.25)}
.book{position:absolute;bottom:62px;right:9%;width:370px;height:135px;transform:perspective(500px) rotateX(52deg) rotateZ(-2deg);filter:drop-shadow(0 20px 22px rgba(0,0,0,.4))}
.book-page{position:absolute;bottom:0;width:50%;height:100%;background:linear-gradient(90deg,#fef6df,#d6c9a6);border:1px solid #a7966f}
.book-page.left{left:0;transform:skewY(-7deg);border-radius:7px 2px 0 20px}
.book-page.right{right:0;transform:skewY(7deg);border-radius:2px 7px 20px 0}
.book-spine{position:absolute;left:50%;bottom:-3px;width:7px;height:105%;background:#9c875f;transform:translateX(-50%)}
.floating-card{position:absolute;background:rgba(10,28,56,.88);border:1px solid rgba(125,186,255,.38);box-shadow:0 14px 30px rgba(0,0,0,.28);border-radius:13px;color:#fff;display:grid;place-items:center}
.card-cap{right:51%;top:67px;width:78px;height:58px;font-size:27px;color:#ffbd43}
.card-cap small{font-size:7px;letter-spacing:1px;color:#c8d7eb}
.card-book{left:12%;top:190px;width:60px;height:60px;color:#ffbf45;font-size:27px}
.card-laptop{right:2%;top:265px;width:78px;height:55px;color:#9fd0ff}
.card-pen{left:26%;top:310px;width:55px;height:55px;color:#ffad3d;font-size:26px}
.spark{position:absolute;color:#ffb33e;text-shadow:0 0 12px #ff9a24}
.spark-1{top:55px;right:7%}.spark-2{top:170px;left:17%}.spark-3{top:110px;right:35%}

/* Sections */
.section{padding:55px 0}
.categories-section{background:linear-gradient(#fff,#f7fbff)}
.trending-section{background:#f1f7ff}
.section-heading{display:flex;justify-content:center;align-items:center;gap:16px;text-align:center;margin-bottom:28px}
.section-heading h2{font-family:Georgia,"Times New Roman",serif;font-size:27px;letter-spacing:-.5px;color:#142441}
.section-heading p{font-size:12px;color:#6e7890;margin-top:2px}
.ornament{color:#e9a82d;font-size:25px}

/* Category cards */
.category-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}
.category-card{position:relative;min-height:164px;background:#fff;border:1px solid #e8edf5;border-radius:15px;padding:20px 12px 15px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 8px 24px rgba(32,67,116,.06);transition:.22s}
.category-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#cddaff}
.category-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e8fff1,#dcf2ff);color:#29995f;font-size:23px;margin-bottom:12px}
.category-card:nth-child(2) .category-icon{color:#4669ed;background:#e9efff}
.category-card:nth-child(3) .category-icon{color:#8553d8;background:#f1eaff}
.category-card:nth-child(4) .category-icon{color:#d88716;background:#fff2dd}
.category-card:nth-child(5) .category-icon{color:#d84e59;background:#ffe9ed}
.category-card:nth-child(6) .category-icon{color:#c85c9d;background:#fce9f6}
.category-card:nth-child(7) .category-icon{color:#1699aa;background:#e5f8fa}
.category-card:nth-child(8) .category-icon{color:#349967;background:#e8f7ec}
.category-card strong{font-size:13px;margin-bottom:4px}
.category-card small{font-size:9px;color:#778197;line-height:1.45}
.card-arrow{position:absolute;right:13px;bottom:10px;font-size:16px}

/* Trending */
.tabs{display:flex;justify-content:center;gap:28px;border-bottom:1px solid #dce5f1;margin-bottom:25px;overflow:auto}
.tab{white-space:nowrap;border:0;background:none;padding:0 0 12px;color:#68748b;font-size:12px;cursor:pointer;border-bottom:2px solid transparent}
.tab.active{color:#3258ff;border-color:#3258ff;font-weight:750}
.content-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.content-card{overflow:hidden;background:#fff;border:1px solid #e4e9f1;border-radius:14px;box-shadow:0 8px 25px rgba(28,58,105,.06)}
.content-image{height:108px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(135deg,#162c58,#3e7bc4)}
.content-image:before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;border:1px solid rgba(255,255,255,.16)}
.image-2{background:linear-gradient(135deg,#24436f,#6885bc)}
.image-3{background:linear-gradient(135deg,#d9d0bd,#f4efe3)}
.image-4{background:linear-gradient(135deg,#315d78,#8aa2ad)}
.image-5{background:linear-gradient(135deg,#2a2430,#654c37)}
.image-6{background:linear-gradient(135deg,#173b68,#6d98c2)}
.content-tag{position:absolute;left:8px;top:8px;background:#3f63e8;color:#fff;border-radius:6px;padding:4px 6px;font-size:7px;font-weight:800}
.image-symbol{font-size:38px;color:rgba(255,255,255,.76);z-index:1}
.content-body{padding:11px}
.content-body h3{font-size:12px;line-height:1.35;min-height:48px}
.content-body p{font-size:9px;color:#788297;margin:4px 0 9px}
.card-meta{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#7d8798}
.card-meta button{border:0;background:none;font-size:19px;color:#788297;cursor:pointer}
.center-action{text-align:center;margin-top:28px}
.outline-btn{display:inline-block;border:1px solid #6177ff;color:#3154e7;border-radius:8px;padding:10px 24px;font-size:12px;font-weight:700;background:#fff}

/* Why */
.why-section{background:#fff}
.why-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.why-card{text-align:center;padding:22px 12px;border:1px solid #e7ebf2;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(30,55,95,.04)}
.why-card>span{width:40px;height:40px;margin:0 auto 11px;display:grid;place-items:center;border-radius:11px;background:#eef5ff;color:#3470dd;font-size:22px}
.why-card:nth-child(1)>span,.why-card:nth-child(3)>span{background:#effaf1;color:#36a461}
.why-card h3{font-size:12px;margin-bottom:6px}
.why-card p{font-size:9px;color:#788297;line-height:1.55}

/* Testimonials */
.testimonials-section{background:linear-gradient(#fff,#fcfcff)}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
blockquote{padding:22px;border:1px solid #e7ebf2;border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(30,55,95,.05)}
blockquote>p{font-size:12px;color:#47536b;min-height:58px}
blockquote footer{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;margin-top:16px}
.person{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#dce7fb;color:#3154bd;font-size:10px;font-weight:800}
blockquote footer strong{display:block;font-size:10px}
blockquote footer small{display:block;color:#7a8496;font-size:8px}
blockquote footer b{font-size:11px;color:#ffad16;letter-spacing:1px}

/* Searches */
.searches-section{padding-top:20px;padding-bottom:45px}
.search-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;max-width:1000px;margin:auto}
.search-tags a{padding:8px 14px;border:1px solid #e1e6ef;background:#fff;border-radius:999px;font-size:10px;color:#59657a;transition:.2s}
.search-tags a:hover{border-color:#b9c8ff;color:#3154e7}

/* Footer */
.site-footer{background:#06182f;color:#d5deeb}
.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1.2fr 1.2fr 1.6fr;gap:32px;padding:42px 0}
.footer-brand p{font-size:11px;color:#96a6bd;margin-top:13px;line-height:1.7}
.footer-grid>div:not(.footer-brand) h4{font-size:12px;color:#fff;margin-bottom:13px}
.footer-grid>div:not(.footer-brand)>a{display:block;font-size:10px;color:#96a6bd;margin:7px 0}
.socials{display:flex;gap:8px;margin-top:14px}
.socials a{width:27px;height:27px;border:1px solid #294261;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#fff}
.newsletter p{font-size:10px;color:#96a6bd;margin-bottom:11px}
.newsletter form{display:flex;background:#fff;border-radius:7px;padding:3px}
.newsletter input{min-width:0;flex:1;border:0;outline:0;padding:7px 8px;font-size:10px}
.newsletter button{border:0;background:#ff901c;color:#fff;border-radius:5px;width:34px;cursor:pointer}
.footer-bottom{border-top:1px solid #1c3450}
.footer-bottom .container{min-height:44px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#7e91aa}
.footer-bottom b{color:#ff6b72}

/* Dark mode */
body.dark{background:#081326;color:#e7edf7}
body.dark .categories-section,body.dark .why-section,body.dark .testimonials-section{background:#081326}
body.dark .trending-section{background:#0a1a31}
body.dark .section-heading h2{color:#eef4ff}
body.dark .category-card,body.dark .content-card,body.dark .why-card,body.dark blockquote,body.dark .search-tags a{background:#0d203a;border-color:#203654}
body.dark .category-card strong,body.dark .content-body h3,body.dark .why-card h3{color:#eef4ff}
body.dark .content-body p,body.dark .why-card p,body.dark blockquote>p{color:#a7b6cb}
body.dark .search-tags a{color:#aab7ca}

/* Responsive */
@media(max-width:1050px){
    .main-nav{gap:15px}
    .category-grid{grid-template-columns:repeat(4,1fr)}
    .content-grid{grid-template-columns:repeat(3,1fr)}
    .why-grid{grid-template-columns:repeat(3,1fr)}
    .footer-grid{grid-template-columns:2fr 1fr 1fr}
    .newsletter{grid-column:span 2}
}
@media(max-width:800px){
    .container{width:min(100% - 28px,680px)}
    .main-nav,.nav-actions{display:none}
    .mobile-menu{display:block;margin-left:auto}
    .hero-grid{grid-template-columns:1fr;min-height:auto}
    .hero-copy{padding:55px 0 30px}
    .hero h1{font-size:45px}
    .hero-art{min-height:350px}
    .globe{top:20px;right:24%;width:150px;height:150px}
    .orbit{top:55px;width:280px;height:100px}
    .book{width:280px;height:95px;right:10%;bottom:35px}
    .card-cap{top:10px;right:56%}
    .card-book{left:8%;top:130px}
    .card-laptop{right:0;top:165px}
    .card-pen{left:20%;top:210px}
    .category-grid{grid-template-columns:repeat(2,1fr)}
    .content-grid{grid-template-columns:repeat(2,1fr)}
    .why-grid{grid-template-columns:repeat(2,1fr)}
    .testimonial-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
    .footer-brand{grid-column:span 2}
    .newsletter{grid-column:span 2}
}
@media(max-width:500px){
    .hero h1{font-size:39px}
    .hero-subtitle{font-size:15px}
    .hero-buttons{flex-direction:column}
    .btn{width:100%}
    .tabs{justify-content:flex-start}
    .content-grid{grid-template-columns:1fr}
    .why-grid{grid-template-columns:1fr 1fr}
    .footer-grid{grid-template-columns:1fr 1fr;gap:20px}
    .footer-brand,.newsletter{grid-column:span 2}
    .footer-bottom .container{padding:12px 0;gap:7px;flex-direction:column;text-align:center}
}
