:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-gold: #FFD700;
    --accent-orange: #FFA500;
    --card-bg: #1a1a1a;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

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

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 165, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 80px 0 40px;
}

.jarvis-orb {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(255, 165, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

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

h1 {
    font-size: 3rem;
    margin: 0;
    background: linear-gradient(to right, #ffffff, #ffe5b4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Features Grid */
.features {
    padding: 60px 0;
}

.transformation-reveal {
    padding: 0 0 80px;
    background: transparent; /* Removed linear gradient to eliminate the 'distinct line' */
}

.visual-reveal {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* Add a soft glow behind the graphic to give it depth */
.visual-reveal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero-graphic {
    width: 100%;
    height: auto;
    display: block;
    /* Blend the image edges into the background using a mask */
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%
    ), linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
    mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%
    ), linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%
    );
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 60px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

@media (min-width: 800px) {
    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* Strictly force 4 columns, allow cards to shrink */
        gap: 24px;
    }
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.image-wrapper {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
    background: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.feature-card:hover img {
    opacity: 1;
}

h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

p {
    color: #aaaaaa;
    font-size: 0.95rem;
}

/* Privacy & Footer */
.privacy-section {
    padding: 60px 0;
    background: linear-gradient(to top, #000000, var(--bg-color));
}

.btn-outline {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
}

footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #666;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #888;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0 20px;
    }

    .jarvis-orb {
        width: 140px;
        height: 140px;
        margin-bottom: 16px;
    }

    h1 {
        font-size: 2rem; /* Scaled down from 3rem */
        line-height: 1.2;
    }

    .tagline {
        font-size: 1rem; /* Scaled down from 1.25rem */
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }

    /* Transformation Reveal on Mobile */
    .transformation-reveal {
        padding: 0 0 40px;
    }
    
    .visual-reveal {
        border-radius: 12px;
    }

    /* Feature Grid Mobile Optimization */
    .features {
        padding: 40px 0;
    }

    .features h2 {
        font-size: 1rem; /* Matched to tagline size */
        letter-spacing: 1px;
        margin-bottom: 30px;
        text-transform: none; /* Optional: Makes it feel more like the tagline style */
    }

    /* Hide breaks in headings on mobile */
    .features h2 br {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 24px;
    }
    
    .feature-card {
        padding: 20px;
    }
}