:root {
    --pitch-black: #111111;
    --smooth-red: #E52E4C;
    --gradient-pink: linear-gradient(91deg, #ffe7e9 0%, #fffafa 50.92%);
    --gradient-red: linear-gradient(90deg, #eb001b 0%, #000 30%);
    --medium-gray: #666666;
    --light-gray: #999999;
    --border-light: rgba(17, 17, 17, 0.1);
}

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

body {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--pitch-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Effects */
.parallax-slow {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-card {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger animation delays for cards */
.parallax-card:nth-child(1) { transition-delay: 0.1s; }
.parallax-card:nth-child(2) { transition-delay: 0.2s; }
.parallax-card:nth-child(3) { transition-delay: 0.3s; }
.parallax-card:nth-child(4) { transition-delay: 0.4s; }
.parallax-card:nth-child(5) { transition-delay: 0.5s; }
.parallax-card:nth-child(6) { transition-delay: 0.6s; }
.parallax-card:nth-child(7) { transition-delay: 0.7s; }

/* Fade in from left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 20px 0;
}

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

.nav-logo-img {
    max-width: 150px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--pitch-black);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--smooth-red);
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-btn-secondary {
    color: var(--pitch-black);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-btn-secondary:hover {
    background: rgba(229, 46, 76, 0.1);
}

.nav-btn-primary {
    color: white;
    background: var(--smooth-red);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-btn-primary:hover {
    background: #d12642;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 46, 76, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--pitch-black);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: var(--gradient-pink);
    background-image: url('../images/somebackground.png'), var(--gradient-pink);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    padding: 160px 40px 100px;
    margin-top: 80px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 250, 250, 0.2);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--pitch-black);
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--smooth-red);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary,
.btn-primary-large {
    display: inline-block;
    background: var(--smooth-red);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 46, 76, 0.3);
}

.btn-primary:hover,
.btn-primary-large:hover {
    background: #d12642;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 46, 76, 0.4);
}

.btn-primary-large {
    padding: 20px 50px;
    font-size: 20px;
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: var(--pitch-black);
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--smooth-red);
    color: var(--smooth-red);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--pitch-black);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 60px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #ffffff;
}

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

.feature-card {
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    background: white;
}

.feature-card:hover {
    border-color: var(--smooth-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 46, 76, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--pitch-black);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.feature-link,
.platform-link {
    display: inline-block;
    color: var(--smooth-red);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.feature-link:hover,
.platform-link:hover {
    color: #d12642;
    transform: translateX(5px);
}

/* Platform Section */
.platform-section {
    padding: 100px 0;
    background: #fafafa;
}

/* Framework Section */
.framework-section {
    padding: 100px 0;
    background: #ffffff;
}

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

.platform-card {
    padding: 35px 25px;
    border-radius: 12px;
    background: white;
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: var(--smooth-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(229, 46, 76, 0.1);
}

.platform-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.platform-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--pitch-black);
    margin-bottom: 10px;
}

.platform-card p {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-pink);
}

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

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--pitch-black);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 18px;
    color: var(--medium-gray);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--pitch-black);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    max-width: 130px;
    width: auto;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--light-gray);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-column a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .hero {
        padding: 120px 30px 80px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-section,
    .platform-section,
    .framework-section,
    .cta-section {
        padding: 60px 0;
    }

    .features-grid,
    .platform-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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