/* MySkoolAI - Ultra-Modern Light Design System (Orange & White) */
:root {
    --primary-h: 25;
    --primary-s: 100%;
    --primary-l: 50%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 40%);
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
    --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.2);
    
    --secondary: #fb923c;
    --accent: #ea580c;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --soft-gradient: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    
    --glass-border: rgba(0, 0, 0, 0.05);
    --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 30px 60px -12px rgba(234, 88, 12, 0.15);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

/* Base Sections */
section {
    padding: 120px 7%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    z-index: 1000;
    transition: var(--transition-fast);
}

nav.scrolled {
    padding: 15px 7%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 35px;
    background: #f1f5f9;
    padding: 10px 30px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    opacity: 0.7;
}

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

/* Buttons */
.cta-button {
    background: var(--accent-gradient);
    color: white;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.4);
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(234, 88, 12, 0.5);
}

.secondary-btn {
    margin-left: 20px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.secondary-btn:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 100px;
    background: var(--soft-gradient);
}

.badge {
    display: inline-block;
    padding: 6px 18px;
    background: #fff7ed;
    color: var(--accent);
    border: 1px solid #fed7aa;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.hero-content { flex: 1.2; }

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero-content h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-content p {
    font-size: 1.35rem;
    margin-bottom: 45px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.glow-wrap {
    position: relative;
    border-radius: 30px;
    padding: 12px;
    background: white;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.1);
    border: 1px solid #f1f5f9;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
    transform: rotateY(-8deg) rotateX(4deg);
    animation: float 8s ease-in-out infinite;
    transition: var(--transition-slow);
}

.hero-image:hover img {
    transform: rotateY(0deg) rotateX(0deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(-8deg); }
    50% { transform: translateY(-25px) rotateY(-4deg); }
}

/* Features Section */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.section-title h2 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 60px 40px;
    border-radius: 35px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
    border-color: #fed7aa;
}

.feature-card i {
    font-size: 3.5rem;
    margin-bottom: 35px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modules Container */
.modules-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.module-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition-fast);
}

.module-item:hover {
    transform: translateY(-5px);
}

.module-icon {
    width: 60px;
    height: 60px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    transition: var(--transition-fast);
}

.module-item:hover .module-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.module-info h4 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

/* Footer Styling */
footer {
    background: #0f172a;
    padding: 120px 7% 50px;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo p {
    color: #94a3b8;
    margin-top: 25px;
}

.footer-links h4 {
    margin-bottom: 30px;
    color: white;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #1e293b;
    color: #64748b;
}

/* Decorative Blobs (Softened for Light Theme) */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: var(--primary);
    animation: move 20s infinite alternate;
}

.blob-2 {
    bottom: 10%;
    right: -10%;
    background: var(--secondary);
    animation: move 25s infinite alternate-reverse;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}


/* AI Core Styling */
.ai-hero { background: var(--bg-light); padding: 80px 7%; }
.ai-glow img { 
    box-shadow: 0 40px 100px -20px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.3);
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.ai-feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.ai-feature-box:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* App Section Styling */
.app-hero { background: white; }

.app-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.app-feature-item i {
    width: 40px;
    height: 40px;
    background: #fff7ed;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.store-btns {
    display: flex;
    gap: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0f172a;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-fast);
    border: 1px solid #1e293b;
}

.store-btn:hover {
    transform: translateY(-3px);
    background: #1e293b;
}

.store-btn i { font-size: 1.8rem; }
.store-btn small { font-size: 0.7rem; opacity: 0.7; }
.store-btn div { line-height: 1.2; font-weight: 700; }

.app-mockup img {
    animation: float-simple 6s ease-in-out infinite;
    transform: rotateY(0deg) rotateX(0deg) !important;
}

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

/* Pricing Section Styling */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    border: 1px solid #f1f5f9;
    box-shadow: var(--card-shadow);
    transition: var(--transition-fast);
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 15px;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin: 40px 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.plan-features .fa-check { color: #10b981; }
.plan-features .fa-times { color: #ef4444; opacity: 0.5; }

.cta-button.outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: var(--text-main);
    box-shadow: none;
}

.cta-button.outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 1024px) {
    .pricing-card.featured { transform: scale(1); }
    .pricing-grid { gap: 40px; }
}

/* Responsiveness */
@media (max-width: 1280px) {
    .modules-container { grid-template-columns: repeat(3, 1fr); padding: 50px; }
    .hero-content h1 { font-size: 4rem; }
}

@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; gap: 40px; padding-top: 150px; }
    .hero-content p { margin: 0 auto 40px; }
    .footer-content { grid-template-columns: 1.5fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .modules-container { grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 40px 30px; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 480px) {
    .modules-container { grid-template-columns: 1fr; }
    .hero-btns { display: flex; flex-direction: column; gap: 20px; }
    .secondary-btn { margin-left: 0; }
}
