:root {
    --bg-color: #0b0f19;
    /* Richer, deeper navy-black */
    --card-bg: rgba(20, 24, 39, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent-color: #3b82f6;
    --accent-hover: #60a5fa;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.fade-in-up {
    animation: fadeUp 1s ease-out forwards;
}

/* Background Animation */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: move 20s infinite alternate linear;
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 50px) scale(1.1);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    /* Bolder headings */
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.hero-logo {
    height: 100px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.5s ease;
}

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

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

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

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

/* Hero Section */
.hero {
    padding: 10rem 5% 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    text-align: left;
    text-align: center;
}

.announcement {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.hero-btns {
    margin-top: 3rem;
}

/* Product Section */
.product-section {
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
}

.product-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
}

.product-container.product-reverse {
    flex-direction: row-reverse;
}

.product-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Realistic Smartphone Device Frame */
.simulation-preview {
    width: 100%;
    aspect-ratio: 9/19.5;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 42px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(59, 130, 246, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    border: 10px solid #1a1e2d;
    background: #000;
    position: relative;
    overflow: hidden;
    animation: fadeUp 1s ease-out forwards;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.simulation-preview:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(59, 130, 246, 0.25);
}

.preview-quoteforge {
    border-color: #2a221c;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(245, 158, 11, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.preview-quoteforge:hover {
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(245, 158, 11, 0.25);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 14px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.preview-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 32px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.simulation-preview:hover .preview-screen-img {
    transform: scale(1.03);
}

/* Glass Glare Sweep */
.simulation-preview::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 15;
    transition: left 0.8s ease;
}

.simulation-preview:hover::after {
    left: 200%;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* 3D pop effect */
    border-radius: 32px;
    padding: 4rem;
    max-width: 600px;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeUp 1s ease-out 0.2s forwards;
    opacity: 0;
    /* Handled by animation */
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 0.35rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.card-icon-forge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-title {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: left;
}

.feature-list {
    text-align: left;
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(8px);
    color: var(--text-primary);
}

.feature-list li::before {
    content: '★';
    /* More premium bullet */
    color: var(--accent-color);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.action-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.buy-button,
.web-app-button {
    display: inline-block;
    padding: 1.2rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
    animation: pulseGlow 2s infinite;
}

.web-app-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--accent-color);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.12);
}

.buy-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    animation: none;
    /* Stop pulsing on hover so scale transition is clean */
}

.web-app-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    animation: none;
}

.buy-button:active {
    transform: scale(0.98);
}

.web-app-button:active {
    transform: scale(0.98);
}

.license-notice {
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.6rem 1rem;
    border-radius: 12px;
}

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

.secondary-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
}

.secondary-links a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.contact h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.contact-email {
    font-size: 1.3rem;
    color: var(--accent-hover);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
}

.contact-email:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

/* Responsive */
@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        text-align: center;
    }

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

    .hero p {
        margin: 0 auto;
    }

    .hero-logo {
        height: 80px;
    }

    .product-container {
        flex-direction: column;
    }

    .product-container.product-reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .product-header {
        flex-direction: column;
        text-align: center;
    }
}
