:root {
    --primary: #1E3A8A;
    --primary-light: #3B82F6;
    --secondary: #06B6D4;
    --accent: #10B981;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --background: #FFFFFF;
    --surface: #F8FAFC;
    --border: #E5E7EB;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.25);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='rgba(255,255,255,0.03)'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-text { color: white; }
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.hero p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.7;
    max-width: 500px;
}
.zero-risk-banner {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: inline-block;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
.student-incentive {
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}
.student-incentive p { margin-bottom: 0; line-height: 1.5; }
.hero-cta-secondary { margin-top: 2rem; display: flex; gap: 1rem; }
.hero-stats { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.stats-text { font-size: 0.875rem; opacity: 0.8; }
.stats-avatars { display: flex; margin-left: -0.5rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); border: 2px solid white; margin-left: -0.5rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; color: white; }

.hero-mockup {
    position: relative;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}
.mockup-container { transform: rotateY(-15deg) rotateX(5deg); transition: transform 0.3s ease; width: 100%; }
.mockup-container:hover { transform: rotateY(-10deg) rotateX(2deg); }
.mockup-screen { background: white; border-radius: 12px; box-shadow: 0 20px 40px var(--shadow-lg); overflow: hidden; border: 8px solid #2D3748; position: relative; }
.mockup-image { width: 100%; height: auto; display: block; }

/* General Section Styles */
section { padding: 5rem 0; }
.section-title { text-align: center; font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; color: var(--text-primary); }
.section-subtitle { text-align: center; font-size: 1.125rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto 3.5rem; line-height: 1.7; }

/* Entry Screen */
#entry-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #111827; color: #F9FAFB; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; text-align: center; opacity: 1; transition: opacity 0.6s ease-in-out; font-family: 'Inter', sans-serif; }
#entry-screen.hidden { opacity: 0; pointer-events: none; }
#entry-screen h1 { font-size: 2.5rem; margin-bottom: 0.5rem; font-weight: 700; }
#entry-screen p { font-size: 1.1rem; margin-bottom: 2rem; color: #D1D5DB; }
#enter-button { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; padding: 14px 32px; cursor: pointer; border-radius: 8px; border: 1px solid var(--primary-light); background-color: var(--primary-light); color: white; transition: background-color 0.3s, transform 0.2s; }
#enter-button:hover { background-color: var(--primary); transform: translateY(-2px); }


/* HOVER-COLLAPSIBLE FEATURES & FAQ SECTION */
.features-faq-section {
    padding: 60px 0;
    background-color: var(--background); /* Set to white for alternation */
    transition: background-color 0.4s ease;
}

.features-faq-section:hover {
    background-color: #f3f4f6;
}

.features-faq-section .section-title {
    cursor: pointer;
    margin-bottom: 0;
}

.features-faq-section .dropdown-arrow {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.7em;
    vertical-align: middle;
    transition: transform 0.4s ease-in-out;
}

.features-faq-section:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out, opacity 0.5s ease-in-out 0.2s, padding-top 0.7s ease-in-out;
    padding-top: 0;
}

.features-faq-section:hover .collapsible-content {
    max-height: 150vh;
    opacity: 1;
    padding-top: 3.5rem;
}

.features-faq-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.column-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Accordion Styles */
.accordion-container { max-width: 100%; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-button { width: 100%; background-color: var(--background); color: var(--text-primary); cursor: pointer; padding: 1.25rem 1.5rem; text-align: left; border: none; outline: none; transition: background-color 0.3s ease; font-size: 1.1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.accordion-button:hover { background-color: #f9fafb; }
.accordion-button::after { content: ''; flex-shrink: 0; width: 20px; height: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-size: contain; transition: transform 0.3s ease-in-out; }
.accordion-button.active::after { transform: rotate(180deg); }
.accordion-button.active { background-color: #f9fafb; }
.accordion-panel { padding: 0 1.5rem; background-color: var(--background); max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; }
.accordion-panel .panel-content { padding: 1.5rem 0; border-top: 1px solid var(--border); }
.accordion-panel ul { list-style-type: none; padding-left: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.accordion-panel li { position: relative; padding-left: 32px; line-height: 1.6; color: var(--text-secondary); font-size: 1rem; }
.accordion-panel li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }

/* FAQ Styles for the Right Column */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.faq-item { background-color: var(--background); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.faq-item h4 { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; }
.faq-item p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* WIDE CTA BREAK SECTION */
.cta-break-section { padding: 4rem 0; background-color: var(--surface); } /* Gray */

/* Testimonials Section */
.testimonials-section { background-color: var(--background); } /* White */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.testimonial-card { background: var(--background); padding: 2rem; border-radius: 16px; border: 1px solid var(--border); position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); display: flex; flex-direction: column; }
.testimonial-card:nth-child(1), .testimonial-card:nth-child(2), .testimonial-card:nth-child(3) { grid-column: span 2; }
.testimonial-quote { font-size: 1rem; color: var(--text-secondary); margin: 0 0 1.5rem 0; line-height: 1.7; flex-grow: 1; white-space: pre-wrap; }
.testimonial-quote::before { content: '“'; font-size: 3.5rem; color: var(--primary-light); font-weight: 800; line-height: 0; display: block; margin-bottom: 1rem; }
.testimonial-author { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.author-name { font-weight: 700; color: var(--text-primary); }
.author-title { font-size: 0.9em; color: var(--text-secondary); }
.testimonial-card.special-card { background-color: rgba(59, 130, 246, 0.05); border-color: rgba(59, 130, 246, 0.3); text-align: center; grid-column: span 2; }
.testimonial-context { font-style: italic; color: var(--primary); font-size: 0.95rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px dashed rgba(30, 58, 138, 0.3); }
.testimonial-card-small { background: var(--background); border-left: 4px solid var(--primary); padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); grid-column: span 1; }
.testimonial-author-small { text-align: right; font-weight: 600; color: var(--text-secondary); margin-top: 1rem; font-style: italic; }
.testimonial-author-small::before { content: '— '; }

/* ABOUT/FOUNDER SECTION STYLES */
.about-founder-section { background-color: var(--surface); } /* Gray */
.about-founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.about-image-column {
    background-image: url('../images/founder-photo.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    min-height: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-text-column .section-title { text-align: left; }
.about-text-column p { font-size: 1.125rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; }
.about-text-column p:last-of-type { margin-bottom: 0; }

/* Final CTA Section */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 4rem 0; }
.cta-section .container { max-width: 800px; }

/* Modal Styles */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content { background-color: var(--background); margin: 10% auto; padding: 2.5rem; border-radius: 8px; max-width: 500px; width: 90%; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.3); animation: slideIn 0.3s ease-in-out; }
@keyframes slideIn { from { transform: translateY(-30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { color: #aaa; position: absolute; top: 1rem; right: 1.5rem; font-size: 28px; font-weight: bold; cursor: pointer; }
.modal-close:hover, .modal-close:focus { color: #333; }
.modal-header h3 { margin-top: 0; margin-bottom: 1.5rem; color: var(--text-primary); }
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 1rem; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3); }
.modal .btn-primary { width: 100%; padding: 0.8rem; font-size: 1.1rem; margin-top: 1rem; }
#trialError, #trialSuccessPanel, #takeSurveyPanel { display: none; }

/* --- BUTTONS (STYLES RESTORED) --- */
.btn { display: inline-block; padding: 0.8rem 1.75rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.btn-primary:hover { background: #059669; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4); }
.btn-secondary { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.7); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: white; transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 1024px) {
    .features-faq-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card, .testimonial-card-small, .testimonial-card.special-card { grid-column: span 1 !important; }
    .about-founder-grid { grid-template-columns: 1fr; }
    .about-image-column { min-height: 400px; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .hero { min-height: auto; padding: 4rem 0; }
    .hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text { text-align: center; }
    .hero-cta-secondary, .hero-stats { justify-content: center; }
    .student-incentive { border-left: none; padding-left: 0; text-align: center; }
    .hero-mockup { order: -1; }
    .mockup-container, .mockup-container:hover { transform: none; }
    section { padding: 3rem 0; }
    .accordion-panel ul { grid-template-columns: 1fr; }
    .accordion-button { padding: 1.25rem 1.5rem; font-size: 1.1rem; }
    .accordion-panel { padding: 0 1.5rem; }
    .about-text-column .section-title { text-align: center; }
}

/* Utilities & Animations */
html { scroll-behavior: smooth; }
*:focus { outline: 2px solid var(--primary-light); outline-offset: 2px; }
.skip-link { position: absolute; top: -40px; left: 6px; background: var(--primary); color: white; padding: 8px; text-decoration: none; z-index: 9999; transition: top 0.3s; }
.skip-link:focus { top: 6px; }

/* HIGH-CONTRAST CTA BANNER */
.cta-banner { display: block; width: 100%; background-color: var(--accent); color: white; text-align: center; padding: 22px 24px; border-radius: 12px; text-decoration: none; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 25px rgba(16, 185, 129, 0.5); animation: pulse 2.5s infinite; }
.cta-banner:hover { background-color: #059669; transform: translateY(-4px) scale(1.02); box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6); animation-play-state: paused; }
.cta-banner-main-text { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.5px; }
.cta-banner-sub-text { display: block; font-size: 1rem; font-weight: 400; opacity: 0.9; margin-top: 6px; }
@keyframes pulse { 0% { transform: scale(1); box-shadow: 0 5px 25px rgba(16, 185, 129, 0.5); } 50% { transform: scale(1.01); box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6); } 100% { transform: scale(1); box-shadow: 0 5px 25px rgba(16, 185, 129, 0.5); } }

/* Success Stories Section */
.success-stories-section { background-color: var(--background); } /* White */
.stories-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.stories-header .header-text h2 { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 800; color: var(--text-primary); margin: 0 0 1rem 0; line-height: 1.2; }
.stories-header .header-text p { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0; line-height: 1.6; }
.stories-link { color: var(--primary-light); text-decoration: none; font-weight: 600; white-space: nowrap; margin-top: 0.5rem; transition: opacity 0.3s; }
.stories-link:hover { opacity: 0.8; }
.stories-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; }
.story-card { background-color: var(--background); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; display: flex; flex-direction: column; min-height: 450px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); }
.story-card.large-card { padding: 0; position: relative; overflow: hidden; color: white; background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&q=80'); background-size: cover; background-position: center; }
.large-card .card-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.overlay-logo { width: 48px; height: 48px; background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.overlay-logo svg { width: 28px; height: 28px; fill: white; }
.overlay-stats .stat-number { display: block; font-size: 4.5rem; font-weight: 800; line-height: 1; }
.overlay-stats .stat-text { display: block; font-size: 1rem; color: rgba(255, 255, 255, 0.9); max-width: 90%; margin-top: 0.5rem; line-height: 1.5; }
.card-logo-placeholder { height: 50px; margin-bottom: auto; color: var(--text-light); font-weight: 600; font-size: 1rem; }
.card-quote { font-size: 1.125rem; line-height: 1.6; margin: 1.25rem 0; font-weight: 500; color: var(--text-secondary); }
.card-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 700; color: var(--text-primary); }
.author-title { font-size: 0.875rem; color: var(--text-secondary); }
@media (max-width: 1024px) { .stories-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .stories-header .header-text h2 { font-size: 2.25rem; } .story-card { min-height: auto; padding: 1.5rem; } .large-card .card-overlay { padding: 1.5rem; } .overlay-stats .stat-number { font-size: 3.75rem; } }


/* CONTAINER: Aligns everything in a row */
.trust-badges-row {
    display: flex;
    flex-wrap: wrap;       /* Allows wrapping on mobile phones */
    align-items: center;   /* Vertically centers text, icons, and dots */
    margin-bottom: 20px;   /* Space between this row and the main Headline */
    color: #ffffff;        /* Sets Font Color to White */
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;     /* Slightly smaller than body text for professional look */
    font-weight: 500;      /* Medium weight for readability */
    letter-spacing: 0.02em;
}

/* INDIVIDUAL ITEMS */
.trust-badge {
    display: flex;
    align-items: center;   /* Aligns the icon with the text */
    gap: 8px;              /* Space between the Icon and the Text */
    position: relative;    /* Needed to position the dividing circle */
}

/* THE ICONS */
.trust-badge svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;       /* Force Icon to be White */
    stroke-width: 2;
    flex-shrink: 0;        /* Prevents icon from getting squashed */
}

/* THE DIVIDING CIRCLES */
/* This adds a dot after every item, EXCEPT the last one */
.trust-badge:not(:last-child)::after {
    content: '';
    display: block;
    width: 4px;            /* Size of the dot */
    height: 4px;
    background-color: rgba(255, 255, 255, 0.6); /* White with 60% opacity for elegance */
    border-radius: 50%;    /* Makes it a perfect circle */
    margin-left: 15px;     /* Push the dot away from the text */
    margin-right: 5px;     /* Push the next item away from the dot */
}

/* MOBILE ADJUSTMENT */
/* On small screens, hide the dots if the text wraps to a new line */
@media (max-width: 768px) {
    .trust-badges-row {
        gap: 10px;         /* Tighter spacing on mobile */
        justify-content: center; /* Center them on mobile */
    }

    .trust-badge:not(:last-child)::after {
        display: none;     /* Hide the dividing dots on mobile to prevent layout mess */
    }

    .trust-badge {
        background: rgba(255, 255, 255, 0.1); /* Add a faint pill background on mobile only */
        padding: 5px 10px;
        border-radius: 12px;
    }
}