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

:root {
    --primary: #ff9f0a;
    --primary-rgb: 255, 159, 10;
    --bg: #000000;
    --surface: #1c1c1e;
    --text: #ffffff;
    --text-sec: #8e8e93;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(28, 28, 30, 0.7);
    --accent-blue: #007aff;
    --accent-red: #ff3b30;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

section {
    padding: 100px 0;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 80px;
}

nav .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: radial-gradient(circle at 0% 0%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.hero-content {
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a1a1a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-sec);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 32px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(var(--primary-rgb), 0.1);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 60px 120px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(var(--primary-rgb), 0.2);
}

.hero-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

/* --- Features --- */
.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-sec);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-sec);
}

.premium {
    background: linear-gradient(145deg, #0a0a0b 0%, #1c1c1e 100%);
    border-radius: 48px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.premium-content {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 80px;
}

.premium-text {
    flex: 1;
}

.premium-text h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.premium-list {
    list-style: none;
    margin-bottom: 40px;
}

.premium-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--text-sec);
}

.premium-list li i {
    color: var(--primary);
}

.premium-image {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.premium-gallery-item {
    background: rgba(255, 255, 255, 0.03);
    aspect-ratio: 1;
    border-radius: 28px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.premium-gallery-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: scale(1.05);
}

.premium-gallery-item i {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(var(--primary-rgb), 0.5);
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-info p {
    color: var(--text-sec);
    max-width: 300px;
    margin-top: 16px;
}

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

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-sec);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-sec);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--text-sec);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: white;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.hero-image {
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

/* --- Responsive --- */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image {
        order: 2;
    }
    .hero-image img {
        max-width: 100%;
    }
    .premium-content {
        flex-direction: column;
        padding: 60px 40px;
        text-align: center;
    }
    .premium-list li {
        justify-content: center;
    }

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 48px;
    }
    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }
}

/* --- Portal Styles --- */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 40px auto;
}

.portal-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 32px;
    padding: 40px 30px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
}

.portal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.portal-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.portal-card:hover::before {
    opacity: 1;
}

.portal-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
    z-index: 1;
    transition: var(--transition);
}

.portal-card:hover .portal-icon {
    transform: rotate(10deg);
    background: var(--primary);
    color: white;
}

.portal-card h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    z-index: 1;
    color: white;
}

.portal-card p {
    color: var(--text-sec);
    margin-bottom: 24px;
    z-index: 1;
    max-width: 280px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.btn-portal {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    z-index: 1;
    transition: var(--transition);
    display: inline-flex;
    justify-content: center;
    width: 220px;
    text-align: center;
}

.portal-card:hover .btn-portal {
    background: white;
    color: black;
    border-color: white;
}

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

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    animation: blob-float 20s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

@keyframes blob-float {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 50px) scale(1.1); }
}

@media (max-width: 640px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .portal-card {
        padding: 60px 24px;
    }
    .portal-card h2 {
        font-size: 2rem;
    }
}

