:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #4682b4;
    --accent-secondary: #38bdf8;
    --accent-tertiary: #3b82f6;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float-toward {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 10px); }
    100% { transform: translate(0, 0); }
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 50px;
}

.logo svg {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    background-size: 200% auto;
    animation: gradient-animation 4s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    line-height: 50px;
    margin-left: 0.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 50px;
}

.nav-links a {
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.auth-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.login-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
}

.login-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.button {
    background: rgba(59, 130, 246, 0.15);
    color: white;
    border: 1px solid rgba(70, 150, 256, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15), 
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-tertiary));
    opacity: 0.5;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.button:hover {
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3), 
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.button:hover::before {
    opacity: 0.9;
}

.button.outline {
    background: rgba(70, 130, 180, 0.05);
    border: 2px solid rgba(70, 130, 180, 0.3);
    color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15), 
                inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.button.outline::before {
    opacity: 0;
}

.button.outline:hover {
    background: rgba(70, 130, 180, 0.05);
    box-shadow: 0 5px 15px rgba(70, 130, 180, 0.2), 
                inset 0 1px 2px rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.button.outline:hover::before {
    opacity: 0.05;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 480px;
}

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

/* SVG Animations */
.reflection-svg {
    animation: float-toward 15s ease-in-out infinite;
    transform: scale(0.85);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
}

.svg-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    margin-top: 60px;
}

.primary-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.primary-svg path {
    fill: rgba(70, 150, 256, 0.7);
    filter: url(#seaGlassEffect2);
    transition: all 0.3s ease;
}

.reflection-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    transform: translate(250px, -120px);
}

.reflection-svg path {
    fill: rgba(255, 255, 255, 0.9);
    filter: url(#seaGlassEffectWhite);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-background .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

.hero-background .blob-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    animation: float 15s ease-in-out infinite;
}

.hero-background .blob-2 {
    bottom: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    animation: float 18s ease-in-out infinite reverse;
}

.hero-background .blob-3 {
    top: 40%;
    right: 30%;
    width: 250px;
    height: 250px;
    background: var(--accent-tertiary);
    animation: float 12s ease-in-out infinite 2s;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
}

.section-title {
    text-align: center;
    font-family: 'Fraunces', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(70, 150, 256, 0.2);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0.75rem;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Pricing Section */
.pricing-preview {
    padding: 5rem 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(70, 150, 256, 0.3);
}

.pricing-card.featured {
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-card.coming-soon {
    opacity: 0.7;
}

.pricing-card.coming-soon::after {
    content: 'COMING SOON';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.pricing-card.coming-soon .button {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pricing-plan {
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.pricing-price {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.pricing-features li:before {
    content: "✓";
    color: var(--accent-secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 4rem 0;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    /* Hide floating SVGs on mobile */
    .svg-container,
    .hero-background {
        display: none;
    }
}