/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #6d28d9 100%);
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-dark);
}

.logo-ai {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.nav-link.cta-btn::after {
    display: none;
}

.nav-link.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5),
                0 0 20px rgba(124, 58, 237, 0.3),
                0 0 30px rgba(37, 99, 235, 0.2);
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.5),
                    0 0 20px rgba(124, 58, 237, 0.3),
                    0 0 30px rgba(37, 99, 235, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(37, 99, 235, 0.7),
                    0 0 30px rgba(124, 58, 237, 0.4),
                    0 0 45px rgba(37, 99, 235, 0.3);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

/* Circuit board pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    opacity: 0.6;
}

/* Circuit nodes */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(139, 92, 246, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 30% 80%, rgba(139, 92, 246, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 90% 60%, rgba(59, 130, 246, 0.3) 2px, transparent 2px);
    background-size: 200px 200px, 250px 250px, 180px 180px, 220px 220px, 190px 190px;
    background-position: 0 0, 40px 40px, 80px 20px, 20px 60px, 100px 80px;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShimmer 3s ease-in-out infinite;
}

@keyframes gradientShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hexagon Animation */
.hexagon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hexagon {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 60px;
    height: 35px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation: hexagonFloat 6s ease-in-out infinite, hexagonGlow 3s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
}

@keyframes hexagonFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-40px) rotate(-5deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) rotate(8deg);
        opacity: 0.6;
    }
}

@keyframes hexagonGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
    }
}

/* Data Stream */
.data-stream-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.data-stream {
    position: absolute;
    top: -100px;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(59, 130, 246, 0.15) 50%,
        transparent 100%
    );
    animation: dataStreamFlow 6s linear infinite;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.15);
}

.data-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    background: rgba(59, 130, 246, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.25);
}

@keyframes dataStreamFlow {
    0% {
        top: -100px;
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        top: calc(100% + 100px);
        opacity: 0;
    }
}

/* Scan Lines */
.scan-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(6, 182, 212, 0.4) 50%,
        transparent 100%
    );
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    animation: scanLineMove 8s linear infinite;
    z-index: 1;
}

@keyframes scanLineMove {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Matrix Rain */
.matrix-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100%;
    width: 20px;
    height: 100%;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: rgba(139, 92, 246, 0.6);
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.8);
    animation: matrixRain 10s linear infinite;
    opacity: 0.5;
}

.matrix-column::before {
    content: '01010101\A 10101010\A 01100011\A 10011001\A 01010101\A 10101010\A 01100011';
    white-space: pre;
    line-height: 1.5;
}

@keyframes matrixRain {
    0% {
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Glowing Orbs */
.orb-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.glowing-orb {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center,
        rgba(59, 130, 246, 0.4) 0%,
        rgba(139, 92, 246, 0.2) 40%,
        transparent 70%
    );
    border-radius: 50%;
    filter: blur(30px);
    animation: orbFloat var(--duration) ease-in-out infinite, orbPulse 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, -50px) scale(1.2);
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
    }
}

@keyframes orbPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Hero Animation */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
    animation: float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 20%;
    right: 10%;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 25%;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: 15%;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

/* Fade-in animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Concepts Section */
.concepts {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.concept-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.concept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.concept-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.concept-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.concept-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Animation Containers */
.animation-container {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.classroom-demo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.classroom-demo > div {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.classroom-demo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.animate-enter {
    opacity: 0.5;
    animation: slideIn 2s ease-in-out infinite;
}

.animate-scan {
    opacity: 0.5;
    animation: scan 2s ease-in-out infinite 0.5s;
}

.animate-pulse {
    opacity: 0.5;
    animation: pulse 2s ease-in-out infinite 1s;
}

.animate-rotate {
    opacity: 0.5;
    animation: rotate 2s ease-in-out infinite 1.5s;
}

@keyframes slideIn {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 1; }
}

@keyframes scan {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); opacity: 0.5; }
    50% { transform: rotate(180deg); opacity: 1; }
}

/* AI Teaching Demo */
.ai-teaching-demo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-teaching-demo > div {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ai-teaching-demo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.ai-teaching-demo span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.animate-fade-in {
    opacity: 0.3;
    animation: fadeInOut 3s ease-in-out infinite;
}

.animate-analyze {
    opacity: 0.3;
    animation: fadeInOut 3s ease-in-out infinite 0.75s;
}

.animate-generate {
    opacity: 0.3;
    animation: fadeInOut 3s ease-in-out infinite 1.5s;
}

.animate-adapt {
    opacity: 0.3;
    animation: fadeInOut 3s ease-in-out infinite 2.25s;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Demo Steps */
.demo-steps {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.step {
    flex: 1;
    padding: 0.5rem;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.concept-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.concept-link:hover {
    gap: 1rem;
}

/* Mission Section */
.mission {
    padding: 5rem 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.mission h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.mission p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* Partners Section */
.partners {
    padding: 6rem 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.partner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.partner-location {
    background: var(--gradient);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.partner-rating {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.partner-review {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.partner-address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.partner-address:hover {
    color: var(--primary-color);
}

.partner-address i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* Map Preview */
.map-preview {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 300px;
    height: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    pointer-events: none;
}

.map-preview::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.partner-card:hover .map-preview {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-20px);
}

.map-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-col p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .concepts-grid {
        grid-template-columns: 1fr;
    }

    .classroom-demo,
    .ai-teaching-demo {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .demo-steps {
        flex-wrap: wrap;
    }

    .step {
        flex: 1 1 45%;
    }
}

/* Image Carousel Styles */
.image-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: var(--white);
}

.carousel-container {
    position: relative;
    width: 100%;
    padding-top: 85%; /* ~6:5 aspect ratio - close to square but not quite */
    overflow: hidden;
}

.carousel-steps {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-steps .step {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 5px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.carousel-steps .step.active {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-btn i {
    color: var(--primary-color);
    font-size: 18px;
}

.carousel-indicators {
    display: none;
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-btn i {
        font-size: 16px;
    }

    .carousel-steps {
        bottom: 10px;
        padding: 8px 15px;
        gap: 6px;
    }

    .carousel-steps .step {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}
