:root {
    --primary-color: #6b46c1;
    --secondary-color: #805ad5;
    --accent-color: #9f7aea;
    --text-color: #2d3748;
    --light-bg: #f7fafc;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
    color: var(--primary-color);
}

.loader-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.logo .square-logo {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 50%, #9f7aea 100%);
    overflow: hidden;
}

.hero-bg-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45vw;
    min-height: 180px;
    max-height: 340px;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 68, 0.35); /* subtle dark overlay for text contrast */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.09); /* stronger glass effect */
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    backdrop-filter: blur(3px);
    max-width: 560px;
    margin: 0 auto;
    transition: background 0.3s, box-shadow 0.3s;
}

.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
    margin-bottom: 1.1rem;
    color: #ffd6e0;
    background: linear-gradient(135deg, #9f7aea 60%, #ffd6e0 100%);
    box-shadow: 0 4px 24px rgba(159, 122, 234, 0.18);
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.2s;
}
.hero-icon i {
    display: block;
    font-size: 3.2rem;
    color: #6b46c1;
    filter: drop-shadow(0 2px 12px rgba(80,40,180,0.13));
}
.hero-icon:hover {
    transform: scale(1.08) rotate(-4deg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 16px rgba(80,40,180,0.12);
    animation: fadeInUp 0.9s cubic-bezier(.77,0,.18,1) 0.1s both;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #fff7d6 0%, #ffd6e0 100%);
    color: #6b46c1;
    padding: 0.15em 0.4em;
    border-radius: 0.4em;
    box-shadow: 0 2px 12px rgba(255, 215, 180, 0.10);
    font-weight: 900;
    font-size: 1em;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(.77,0,.18,1) 0.5s both;
    font-weight: 400;
    line-height: 1.5;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ffd6e0 0%, #9f7aea 100%);
    color: #2d3748;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 2em;
    box-shadow: 0 4px 16px rgba(80,40,180,0.14);
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    animation: fadeInUp 0.8s cubic-bezier(.77,0,.18,1) 0.8s both;
}
.cta-btn:hover, .cta-btn:focus {
    background: linear-gradient(90deg, #fff7d6 0%, #805ad5 100%);
    color: #6b46c1;
    transform: translateY(-2px) scale(1.04);
}

.construction-animation {
    font-size: 3.2rem;
    margin-top: 1.5rem;
    animation: fadeInUp 0.7s cubic-bezier(.77,0,.18,1) 1.1s both;
}

.construction-animation i {
    margin: 0 0.7rem;
    color: #fff7d6;
    filter: drop-shadow(0 2px 12px rgba(255, 215, 180, 0.15));
}

.fa-spin-reverse {
    animation: fa-spin 2s infinite linear reverse;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    .hero-content {
        max-width: 90vw;
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-icon {
        font-size: 2.2rem;
        width: 2.8rem;
        height: 2.8rem;
    }
    .hero-icon i {
        font-size: 2rem;
    }
}
@media (max-width: 600px) {
    .hero {
        min-height: 80vh;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }
    .hero-content {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        border-radius: 14px;
    }
    .hero-icon {
        font-size: 1.4rem;
        width: 2.2rem;
        height: 2.2rem;
        margin-bottom: 0.7rem;
    }
    .hero-icon i {
        font-size: 1.2rem;
    }
    .hero-title {
        font-size: 1.45rem;
        margin-bottom: 0.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .cta-btn {
        font-size: 1rem;
        padding: 0.65rem 1.5rem;
    }
    .construction-animation {
        font-size: 2.2rem;
        margin-top: 1rem;
    }
    .hero-bg-svg {
        height: 120px;
        max-height: 120px;
    }
}


/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

.feature-card.ai-coach {
    position: relative;
    background: rgba(255,255,255,0.65);
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(127,62,204,0.18), 0 1.5px 10px 0 rgba(159,122,234,0.08);
    border: 3.5px solid transparent;
    background-clip: padding-box;
    border-image: linear-gradient(100deg, #ffd6e0 5%, #9f7aea 60%, #6b46c1 100%);
    border-image-slice: 1;
    overflow: visible;
    z-index: 3;
    margin-bottom: 0.5rem;
    animation: ai-glow 2.2s infinite alternate;
}

@keyframes ai-glow {
    0% { box-shadow: 0 6px 32px 0 rgba(127,62,204,0.18), 0 1.5px 10px 0 rgba(159,122,234,0.08); }
    100% { box-shadow: 0 0 32px 8px rgba(159,122,234,0.22), 0 1.5px 10px 0 rgba(255,214,224,0.15); }
}

.ai-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ffd6e0 0%, #9f7aea 100%);
    color: #6b46c1;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 1px;
    padding: 0.32em 1.1em;
    border-radius: 1.2em;
    box-shadow: 0 2px 10px rgba(159, 122, 234, 0.13);
    z-index: 4;
    pointer-events: none;
    border: 2px solid #fff;
    font-family: inherit;
}

.ai-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #fff7d6 0%, #ffd6e0 100%);
    border-radius: 50%;
    width: 4.2rem;
    height: 4.2rem;
    margin: 0.5rem auto 1.1rem auto;
    box-shadow: 0 2px 16px 0 rgba(159,122,234,0.15);
    animation: ai-bounce 1.4s infinite;
}

.ai-icon-wrap i {
    font-size: 2.7rem;
    color: #6b46c1;
    filter: drop-shadow(0 2px 12px rgba(80,40,180,0.11));
}

@keyframes ai-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.06); }
}

.feature-card.ai-coach h3 {
    font-size: 1.38rem;
    font-weight: 900;
    color: #6b46c1;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
}

.feature-card.ai-coach p {
    font-size: 1.08rem;
    color: #4a326c;
    font-weight: 500;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    line-height: 1.6;
    text-shadow: 0 1px 8px #fff7d6;
}

.feature-card.main-feature {
    border: 2.5px solid;
    border-image: linear-gradient(90deg, #805ad5 0%, #ffd6e0 100%);
    border-image-slice: 1;
    box-shadow: 0 6px 28px rgba(127, 62, 204, 0.18);
    background: linear-gradient(90deg, #f7f0ff 60%, #fff7f0 100%);
    z-index: 2;
    transform: scale(1.04);
}

.feature-badge {
    display: inline-block;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #805ad5 0%, #ffd6e0 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.3em 1em;
    border-radius: 1em;
    box-shadow: 0 2px 8px rgba(127, 62, 204, 0.15);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    z-index: 3;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.feature-card:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Add a subtle gradient effect to icons */
.feature-card i::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.3rem;
    line-height: 1.4;
}

.feature-card p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
    width: 100%;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.9;
}

.feature-list li i {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: var(--light-bg);
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-container {
    max-width: 600px;
    margin: 2rem auto;
}

.form-placeholder {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.form-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Responsive iframe container */
.responsive-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 120%; /* 5:6 aspect ratio for Google Form, adjust as needed */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 320px;
}

@media (max-width: 768px) {
    .responsive-iframe-container {
        padding-bottom: 150%; /* taller aspect on mobile */
    }
}
@media (max-width: 480px) {
    .responsive-iframe-container {
        padding-bottom: 180%;
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for features */
@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 2rem 0.5rem;
    }
    .hero-content {
        padding: 1.2rem 0.7rem;
        border-radius: 10px;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .construction-animation {
        font-size: 2.2rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .feature-card {
        padding: 2rem 1.5rem;
    }
    .feature-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 1rem 0.2rem;
    }
    .hero-content {
        padding: 0.7rem 0.3rem;
        border-radius: 7px;
    }
    .hero-content h1 {
        font-size: 1.3rem;
    }
    .hero-content p {
        font-size: 0.95rem;
    }
    .construction-animation {
        font-size: 1.5rem;
    }
}

/* Scroll Animations */
.feature-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
} 