/* Modern CSS Variables & Reset - Calove Light Theme */
:root {
    /* Colors */
    --bg-light: #ffffff;
    --bg-alt: #fdfdfd;
    --bg-card: #ffffff;
    --bg-card-hover: #fff5f9;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --primary: #ff6b9d;
    --primary-glow: rgba(255, 107, 157, 0.3);
    --accent: #fd80d5;
    --accent-glow: rgba(253, 128, 213, 0.3);
    --gradient-primary: linear-gradient(135deg, #fd80d5 0%, #ff6b9d 100%);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 10px 25px rgba(255, 107, 157, 0.15);
    --blur: blur(12px);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, #fff0f7 0%, transparent 40%),
        radial-gradient(circle at bottom left, #f0f9ff 0%, transparent 40%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 107, 157, 0.2);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Platforms Section */
.platforms {
    padding: 100px 0;
    background: var(--bg-alt);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--card-shadow);
}

.platform-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    box-shadow: var(--card-shadow-hover);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.platform-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 400px;
    /* Fixed height for better control */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fit */
    object-position: top center;
    /* Focus on top part usually */
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-info,
.contact-form {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info .icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Footer */
footer {
    background: #1a202c;
    padding: 80px 0 30px;
    color: #fff;
}

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

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #fff;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #a0aec0;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        order: -1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-light);
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-normal);
        z-index: 999;
        pointer-events: none;
        box-shadow: var(--glass-shadow);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}