@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --apple-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    --apple-accent: #ff2d55;
    --apple-glow: rgba(255, 45, 85, 0.4);
    --intel-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --intel-accent: #00c6ff;
    --intel-glow: rgba(0, 198, 255, 0.4);
    --code-bg: #1e1e1e;
    --border-color: #333;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.gradient-text-apple {
    background: linear-gradient(to right, #ff6b6b, #c06c84);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-intel {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

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

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

.vs-badge {
    font-size: 2rem;
    font-weight: 800;
    background: white;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 0 1rem;
    display: inline-block;
    transform: skew(-10deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Comparison Cards */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

.card.apple:hover {
    box-shadow: 0 10px 30px var(--apple-glow);
    border-color: var(--apple-accent);
}

.card.intel:hover {
    box-shadow: 0 10px 30px var(--intel-glow);
    border-color: var(--intel-accent);
}

.card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Architecture Section */
.architecture {
    padding: 8rem 0;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

/* Memory Section */
.memory {
    padding: 8rem 0;
    background: #080808;
}

.uma-visual {
    position: relative;
    margin-top: 3rem;
}

.uma-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.memory-explanation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

/* Developer Section */
.developer {
    padding: 8rem 0;
}

.code-block {
    background: var(--code-bg);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #d4d4d4;
    overflow-x: auto;
    border: 1px solid #333;
    margin-top: 1rem;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-string {
    color: #ce9178;
}

.code-function {
    color: #dcdcaa;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

@media (max-width: 1000px) {
    .tech-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-item {
    text-align: center;
}

.spec-value {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #333;
    color: var(--text-muted);
}

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

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .memory-explanation {
        grid-template-columns: 1fr;
    }
}