/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: sans-serif; /* Replace with actual font if known */
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text */
    line-height: 1.6;
}

a {
    color: #ffffff; /* Changed from purple to white */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
}

.btn-primary {
    background-color: #ffffff; /* White button */
    color: #121212; /* Dark text */
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically center items */
}

.logo-img {
    height: 30px; /* Adjust height as needed */
    width: auto;
    margin-right: 10px; /* Add space between logo and text */
    vertical-align: middle; /* Helps align inline elements */
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    color: #e0e0e0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #b0b0b0;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Why Different Section */
.why-different {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly different dark shade */
}

.why-different h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item .icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #ffffff; /* White icon */
}

.feature-item h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

.feature-item p {
    color: #b0b0b0;
}

/* User Profiles Section */
.user-profiles-section {
    padding: 60px 0;
    background-color: #121212; /* Match body background or choose a subtle contrast */
}

.user-profiles-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #e0e0e0;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.profile-card {
    background-color: #1f1f1f; /* Dark card background */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.profile-icon {
    font-size: 3em; /* Larger icon */
    margin-bottom: 20px;
    color: #ffffff; /* White icon color */
}

.profile-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.profile-card p {
    color: #b0b0b0; /* Lighter grey text */
    font-size: 1em;
    line-height: 1.7;
}

/* Detailed Features Section */
.detailed-features {
    padding: 60px 0;
    background-color: transparent;
}

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

.feature-card {
    background-color: #252525;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #444;
    text-align: left; /* Ensure text aligns left */
}

.feature-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align icon with start of text */
    margin-bottom: 10px;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.2em; /* Adjust heading size */
}

.feature-card .icon {
    font-size: 1.8em; /* Slightly larger icon */
    margin-right: 10px; /* Add space between icon and title */
    color: #ffffff; /* Changed from purple to white */
}

.feature-card p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    background-color: #333;
    color: #ccc;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

/* Perfect For Section */
.perfect-for {
    padding: 60px 0;
    text-align: center;
}

.perfect-for h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: left;
}

.audience-card {
    background-color: #252525;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #444;
}

.audience-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.audience-card p {
    color: #b0b0b0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background-color: #1a1a1a;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #b0b0b0;
}

/* Footer */
footer {
    padding: 40px 0 20px 0;
    background-color: #1f1f1f;
    color: #a0a0a0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 15px;
}

.footer-about p {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.social-links a {
    margin-right: 10px;
    font-size: 1.5em; /* Increase size for social icons */
    color: #a0a0a0;
}

.social-links a:hover {
    color: #ffffff; /* Changed from purple to white */
    text-decoration: none;
}

.footer-links h4, .footer-subscribe h4 {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #a0a0a0;
}

.footer-subscribe p {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.footer-subscribe form {
    display: flex;
    margin-bottom: 10px;
}

.footer-subscribe input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #444;
    background-color: #333;
    color: #e0e0e0;
    border-radius: 5px 0 0 5px;
}

.footer-subscribe button {
    border-radius: 0 5px 5px 0;
    margin-left: -1px; /* Overlap border */
}

.consent {
    font-size: 0.8em !important;
    color: #888;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.footer-bottom ul li {
    margin-left: 20px;
}

.footer-bottom ul li a {
    color: #a0a0a0;
}

/* Placeholder Icon Styles - Replace with actual icons */
.icon {
    display: inline-block;
    width: auto; /* Let Font Awesome determine width */
    height: auto; /* Let Font Awesome determine height */
    font-size: 2em; /* Adjust Font Awesome icon size */
    margin-bottom: 15px;
    color: #ffffff; /* Changed from purple to white */
}

/* Styles for Single Page App Navigation */
.page-section.hidden {
    display: none;
}

/* Styling for Feature Spotlight Grid */
.feature-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Adjust minmax as needed */
    gap: 30px;
    align-items: center; /* Align items vertically */
    margin-top: 40px;
}

.spotlight-item h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.spotlight-item ul {
    list-style: disc;
    margin-left: 20px;
    color: #b0b0b0;
}

.spotlight-item ul li {
    margin-bottom: 8px;
}

.spotlight-item img {
    display: block; /* Remove extra space below image */
    margin: 0 auto; /* Center image if grid column is wider */
}

/* Ensure sections have some padding */
.page-section {
    padding: 60px 0;
}

#home-content .why-different,
#home-content .hero {
    padding: 60px 0; /* Ensure consistent padding for initial sections */
}

/* Styles for Languages Section */
.languages-available {
    text-align: center; /* Center the main title and subtitle */
}

.languages-available h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.languages-available > p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #b0b0b0;
}

.language-focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    background-color: #1a1a1a; /* Background for the main language section */
    padding: 40px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 60px;
}

.language-details h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.flag-icon {
    margin-right: 10px;
    font-size: 1.5em; /* Adjust size as needed */
}

.language-details h4 {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.language-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.language-details ul li {
    margin-bottom: 10px;
    color: #b0b0b0;
    display: flex;
    align-items: center;
}

.language-details ul li i {
    color: #4CAF50; /* Green checkmark */
    margin-right: 10px;
}

.start-learning {
    /* Inherits .btn styles, add specific overrides if needed */
    margin-left: 0; /* Override default btn margin */
}

.course-features {
    /* Styles for the right column */
}

.course-features h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.course-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.course-features .icon {
    font-size: 1.5em;
    margin-right: 15px;
    color: #ffffff; /* White icon color */
    width: 30px; /* Fixed width for alignment */
    text-align: center;
    margin-top: 3px; /* Align icon slightly better with text */
}

.course-features h5 {
    font-size: 1.1em;
    margin: 0 0 5px 0;
    color: #e0e0e0;
}

.course-features p {
    margin: 0;
    color: #b0b0b0;
    font-size: 0.95em;
}

.coming-soon-title {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.language-card {
    background-color: #252525;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #444;
}

.coming-soon-card h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.coming-soon-card p {
    color: #b0b0b0;
    margin-bottom: 15px;
}

.coming-soon-card .tag {
    background-color: #444; /* Darker tag for coming soon */
}

/* Styles for Pricing Section */
.pricing-container {
    text-align: center;
}

.pricing-container h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.pricing-container > p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #b0b0b0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    align-items: start; /* Align cards to the top */
}

.pricing-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #444;
    text-align: left;
    position: relative; /* For popular badge positioning */
    display: flex;
    flex-direction: column;
    height: 100%; /* Make cards equal height */
}

.pricing-card.popular {
    border-color: #ffffff; /* White border for popular */
    border-width: 2px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff; /* White badge */
    color: #121212; /* Dark text */
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: bold;
}

.pricing-card h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    text-align: center;
}

.pricing-card > p {
    color: #b0b0b0;
    margin-bottom: 25px;
    text-align: center;
    min-height: 40px; /* Ensure space even if description is short */
}

.price {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.price span {
    font-size: 0.5em;
    font-weight: normal;
    color: #b0b0b0;
    margin-left: 5px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1; /* Push button to bottom */
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #e0e0e0;
}

.features-list i {
    margin-right: 10px;
    width: 16px; /* Align icons */
    text-align: center;
}

.features-list .fa-check {
    color: #4CAF50; /* Green check */
}

.features-list .fa-times {
    color: #f44336; /* Red cross */
}

.pricing-card .btn {
    width: 100%;
    padding: 12px 20px;
    margin-left: 0; /* Override default */
    text-align: center;
}

/* All Plans Include Section */
.all-plans-include {
    margin-bottom: 60px;
    text-align: center;
}

.all-plans-include h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.included-tags .tag {
    margin: 5px;
    background-color: #333;
    color: #ccc;
}

/* Available Languages in Pricing */
.available-languages-pricing {
    margin-bottom: 60px;
    text-align: center;
}

.available-languages-pricing h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.available-languages-pricing > p {
    color: #b0b0b0;
    margin-bottom: 30px;
}

.languages-grid-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: left;
}

.language-card-pricing {
    background-color: #252525;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #444;
}

.language-card-pricing h4 {
    font-size: 1.2em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.language-card-pricing p {
    font-size: 0.9em;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.language-card-pricing .tag {
    font-size: 0.8em;
    padding: 4px 8px;
}

.tag.available-now {
    background-color: #4CAF50; /* Green for available */
    color: #ffffff;
}

/* FAQ Section */
.faq-section {
    text-align: center;
}

.faq-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.faq-section > p {
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #b0b0b0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Adjust minmax for wider items */
    gap: 30px;
    text-align: left;
}

.faq-item {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #444;
}

.faq-item h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.faq-item p {
    color: #b0b0b0;
    line-height: 1.7;
}

/* Styles for How It Works Section */
.how-it-works-container {
    text-align: center;
}

.how-it-works-container h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.how-it-works-container > p {
    max-width: 800px; /* Wider description */
    margin: 0 auto 60px auto;
    color: #b0b0b0;
}

/* User Profiles Section */
.user-profiles {
    padding: 60px 0;
    background-color: var(--background-alt);
}

.user-profiles h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.profile-card {
    background-color: var(--background-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.profile-header h5 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.profile-header span {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    background-color: var(--background-alt);
    padding: 3px 8px;
    border-radius: 4px;
}

.profile-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.profile-progress {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
}

.profile-progress span:last-child {
    font-weight: 500;
    color: var(--primary-color);
}

/* Science Behind Section */
.science-behind {
    background-color: #1a1a1a; /* Darker background for this subsection */
    padding: 50px 0;
    margin-bottom: 60px;
    border-radius: 8px;
}

.science-behind h3 {
    font-size: 2em;
    margin-bottom: 40px;
    text-align: center;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px; /* Padding inside the grid container */
}

.science-card {
    background-color: #252525;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.science-card .icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

.science-card h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.science-card p {
    color: #b0b0b0;
    font-size: 0.95em;
}

/* Learning Process Section */
.learning-process {
    margin-bottom: 60px;
}

.learning-process h3 {
    font-size: 2em;
    margin-bottom: 50px;
    text-align: center;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr 1fr; /* Number | Content | Visualization */
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
    text-align: left;
}

.process-step.reverse {
    grid-template-columns: 1fr auto 1fr; /* Visualization | Number | Content */
}

.process-step.reverse .step-content {
    grid-column: 3 / 4;
}

.process-step.reverse .step-number {
    grid-column: 2 / 3;
}

.process-step.reverse .step-visualization {
    grid-column: 1 / 2;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #121212;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: center; /* Center the number horizontally */
}

.step-content {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.step-content h4 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.step-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-content ul li {
    margin-bottom: 10px;
    color: #b0b0b0;
    display: flex;
    align-items: center;
}

.step-content ul li i {
    color: #4CAF50; /* Green check */
    margin-right: 10px;
}

.step-visualization {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    background-color: #1a1a1a;
    border-radius: 8px;
    min-height: 200px; /* Placeholder height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-style: italic;
}

/* Responsive adjustments for How It Works */
@media (max-width: 900px) {
    .process-step,
    .process-step.reverse {
        grid-template-columns: auto 1fr; /* Number | Content+Viz */
        gap: 20px 30px;
    }
    .step-number {
        grid-row: 1 / 3; /* Span both rows */
        align-self: start; /* Align number to top */
        margin-top: 5px; /* Adjust vertical position */
    }
    .step-content {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    .step-visualization {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        min-height: 150px;
    }
    .process-step.reverse .step-content,
    .process-step.reverse .step-visualization {
        grid-column: 2 / 3; /* Both content and viz in second column */
    }
    .process-step.reverse .step-visualization {
        grid-row: 2 / 3; /* Viz below content */
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav {
        margin-top: 15px;
    }
    header nav ul li {
        margin: 0 10px;
    }
    .auth-buttons {
        margin-top: 15px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about .social-links {
        justify-content: center;
    }
    .footer-subscribe form {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom ul {
        margin-top: 10px;
    }
    .footer-bottom ul li {
        margin: 0 10px;
    }
    .profiles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .science-grid,
    .profiles-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
    .process-step,
    .process-step.reverse {
         grid-template-columns: 1fr; /* Stack everything */
         gap: 20px;
         text-align: center;
    }
     .step-number {
        grid-row: auto;
        grid-column: auto;
        justify-self: center;
        margin-bottom: 10px;
    }
    .step-content {
        grid-row: auto;
        grid-column: auto;
        text-align: center;
    }
    .step-visualization {
        grid-row: auto;
        grid-column: auto;
    }
    .step-content ul {
        text-align: left; /* Keep list items left-aligned */
        max-width: 300px; /* Limit width for centering */
        margin: 0 auto; /* Center the list block */
    }
}
