/* Base Styles & Variables */
:root {
    --primary-color: #4a6bff;
    --primary-dark: #3551d3;
    --primary-light: #7e93ff;
    --secondary-color: #ff6b6b;
    --secondary-dark: #e55c5c;
    --accent-color: #ffd166;
    --text-color: #2c3e50;
    --text-light: #6c7a89;
    --text-dark: #1a2a3a;
    --background-color: #f9f9ff;
    --white: #ffffff;
    --light-gray: #f0f0f7;
    --medium-gray: #e1e1e8;
    --dark-gray: #8d8d9b;
    --black: #26282B;
    --success-color: #06d6a0;
    --error-color: #ef476f;
    --warning-color: #ffd166;
    --info-color: #118ab2;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.15);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-sans: 'Roboto', 'Noto Sans JP', sans-serif;
    --max-width: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-course, .btn-pricing, .btn-nav {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 107, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 107, 255, 0.5);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--medium-gray);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.btn-nav {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
}

.btn-nav:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-course, .btn-pricing {
    width: 100%;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
    margin-top: 1rem;
}

.btn-course:hover, .btn-pricing:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.highlighted .btn-pricing {
    background-color: var(--primary-color);
    color: var(--white);
}

.highlighted .btn-pricing:hover {
    background-color: var(--primary-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.japanese-text {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.ai-logo {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 2px 0;
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7ff 0%, #ebefff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234a6bff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.floating-card {
    position: absolute;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    width: 180px;
    transition: all var(--transition-slow);
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.japanese-card {
    left: 10%;
    top: 10%;
    border-top: 5px solid var(--primary-color);
}

.vocab-card {
    right: 10%;
    top: 25%;
    border-top: 5px solid var(--secondary-color);
}

.certificate-card {
    left: 30%;
    bottom: 10%;
    border-top: 5px solid var(--accent-color);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Courses Section */
.courses {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.courses-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    overflow-x: auto;
    padding-bottom: 1.5rem;
}

.course-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    border-top: 5px solid;
}

.n5 { border-color: #a5d6a7; }
.n4 { border-color: #81c784; }
.n3 { border-color: #66bb6a; }
.n2 { border-color: #4caf50; }
.n1 { border-color: #43a047; }

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.course-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.course-features li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Practice Section */
.practice {
    padding: 6rem 0;
    background-color: var(--white);
}

.quiz-container {
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 1rem;
}

.quiz-level {
    background-color: var(--primary-light);
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
}

.quiz-question {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.quiz-options {
    margin-bottom: 2rem;
}

.quiz-options label {
    display: block;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.quiz-options label:hover {
    border-color: var(--primary-light);
    background-color: var(--light-gray);
}

.quiz-options input[type="radio"] {
    margin-right: 0.8rem;
}

.quiz-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quiz-result {
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.quiz-explanation {
    margin-top: 2rem;
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: none;
}

.quiz-explanation.active {
    display: block;
}

/* AI Demo Section */
.ai-demo {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.demo-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.ai-chat-interface {
    flex: 1;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--medium-gray);
    max-width: 500px;
}

.chat-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-avatar i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.ai-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
}

.ai-info span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--light-gray);
}

.message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    max-width: 80%;
}

.ai-message {
    background-color: var(--white);
    border-left: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.user-message {
    background-color: var(--primary-light);
    color: var(--white);
    margin-left: auto;
}

.translation {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-style: italic;
}

.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--medium-gray);
}

.chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--radius-md);
    margin-right: 0.5rem;
}

.btn-send {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-send:hover {
    background-color: var(--primary-dark);
}

.ai-features {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    border-top: 1px solid var(--medium-gray);
}

.ai-feature {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.ai-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    display: block;
}

.demo-info {
    flex: 1;
}

.demo-info h3 {
    margin-bottom: 1.5rem;
}

.demo-features {
    list-style: none;
    margin-bottom: 2rem;
}

.demo-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.demo-features li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    align-self: center;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
}

.about-stat {
    text-align: center;
}

.about-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.about-stat-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background-color: var(--white);
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.highlighted {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
}

.pricing-header {
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--medium-gray);
}

.pricing-header h3 {
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    margin-right: 0.8rem;
}

.pricing-features li.disabled {
    color: var(--dark-gray);
}

.pricing-features .fa-check {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--error-color);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.signup-form input {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: none;
}

.signup-terms {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.signup-terms a {
    color: var(--white);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    color: var(--medium-gray);
    margin-top: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-menu h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: var(--medium-gray);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--white);
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-contact p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--primary-light);
}

.footer-newsletter {
    display: flex;
    margin-top: 1.5rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.footer-newsletter button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.footer-newsletter button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--medium-gray);
}

.footer-payment i {
    font-size: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-content {
        flex-direction: column;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    .about-content {
        flex-direction: column;
    }
    .demo-container {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .features-grid,
    .courses-slider,
    .testimonials-slider,
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }
}