/* TuitionDesk Marketing Website Styles - Modern Color Scheme */

:root {
    /* Primary Brand Colors - Modern Blue Palette */
    --primary-900: #0f172a;      /* Deep navy - headers, dark accents */
    --primary-800: #1e293b;      /* Dark slate blue - primary text */
    --primary-700: #334155;      /* Medium slate - secondary text */
    --primary-600: #475569;      /* Slate - muted text */
    --primary-500: #64748b;      /* Light slate - borders, dividers */
    
    /* Accent Blue - Modern & Professional */
    --accent-700: #1e40af;       /* Rich blue - primary buttons, links */
    --accent-600: #2563eb;       /* Bright blue - hover states */
    --accent-500: #3b82f6;       /* Light blue - active states */
    --accent-50: #eff6ff;        /* Very light blue - backgrounds */
    
    /* Neutral Grays - Modern Scale */
    --gray-50: #f8fafc;          /* Lightest - page backgrounds */
    --gray-100: #f1f5f9;         /* Light - card backgrounds */
    --gray-200: #e2e8f0;        /* Border - subtle dividers */
    --gray-300: #cbd5e1;        /* Border - medium dividers */
    --gray-400: #94a3b8;        /* Muted text */
    --gray-600: #475569;        /* Secondary text */
    --gray-700: #334155;        /* Primary text (alternative) */
    --gray-900: #0f172a;        /* Darkest - headings */
    
    /* Pure Colors */
    --white: #ffffff;
    --black: #000000;
    
    /* Semantic Colors - Modern & Accessible */
    --success: #10b981;          /* Emerald green */
    --success-light: #d1fae5;    /* Success background */
    --warning: #f59e0b;          /* Amber */
    --warning-light: #fef3c7;   /* Warning background */
    --error: #ef4444;            /* Red */
    --error-light: #fee2e2;      /* Error background */
    --info: #3b82f6;             /* Blue */
    --info-light: #dbeafe;       /* Info background */
    
    /* Shadows - Modern & Subtle */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Border Radius - Modern */
    --radius-sm: 0.375rem;       /* 6px */
    --radius-md: 0.5rem;         /* 8px */
    --radius-lg: 0.75rem;        /* 12px */
    --radius-xl: 1rem;           /* 16px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px !important;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-700);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-700);
}

.nav-links a.btn-primary {
    color: var(--white) !important;
    font-weight: 600;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-600);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--accent-700);
    color: var(--white) !important;
    box-shadow: var(--shadow-sm);
}

.btn-primary,
.btn-primary:visited,
.btn-primary:link {
    color: var(--white) !important;
}

.btn-primary:hover {
    background-color: var(--accent-600);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--accent-700);
    border-color: var(--accent-600);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--accent-50);
    border-color: var(--accent-600);
    color: var(--accent-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-800);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-600);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.375rem;
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Sections */
section {
    padding: 4rem 0;
    position: relative;
}

section + section {
    margin-top: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-800);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--primary-600);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-600), var(--accent-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
    border-color: var(--accent-500);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--primary-600);
    line-height: 1.7;
}

/* Trust Section */
.trust {
    background-color: var(--gray-50);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trust-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.trust-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--primary-600);
}

/* About */
.about {
    background-color: var(--white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--primary-600);
    font-size: 1.125rem;
    line-height: 1.8;
    text-align: center;
}

.about-text:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--accent-700) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta .section-title,
.cta .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta .btn-primary {
    background-color: var(--accent-700);
    color: var(--white) !important;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.cta .btn-primary:hover {
    background-color: var(--accent-600);
    color: var(--white) !important;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--primary-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--white);
    transition: color 0.2s ease;
}

.footer-section p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--primary-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-800);
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-800);
    }
    
    section {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
}

