:root {
    --primary-color: #e94560;
    --secondary-color: #0f3460;
    --accent-color: #533483;
    --bg-color: #1a1a2e;
    --card-bg: #16213e;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --spacing-unit: 1rem;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.btn-nav {
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    color: white;
}

.btn-nav:hover {
    background-color: #d6344d;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition-speed);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.7)), url('../image/1.webp');
    background-size: cover;
    background-position: center;
    margin-top: 60px; /* Offset for fixed header */
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    color: white;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: rgba(233, 69, 96, 0.1);
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--accent-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
}

.intro-image {
    display: flex;
    justify-content: center;
}

.intro-image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
    background-color: var(--card-bg);
}

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

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    background: #1c1c1e;
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 0 0 2px #3a3a3c,
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(233, 69, 96, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 240px;
    width: 100%;
}

.phone-frame:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 0 0 2px var(--primary-color),
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(233, 69, 96, 0.15);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #1c1c1e;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.phone-screen {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #000;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.phone-frame:hover .phone-screen img {
    transform: scale(1.05);
}

/* Gallery Section */
.gallery-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: start;
    justify-items: center;
}

.gallery-showcase .phone-mockup:nth-child(even) {
    margin-top: 2rem;
}

/* Intro Phone Mockup */
.intro-phone {
    max-width: 280px;
    margin: 0 auto;
}

.intro-phone .phone-frame {
    max-width: 280px;
}

/* Download Section */
.download {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--bg-color));
}

.download-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #d0d0d0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s;
    width: 200px;
}

.store-btn:hover {
    transform: translateY(-3px);
    background-color: #1a1a1a;
}

.store-btn .icon {
    font-size: 2rem;
}

.store-btn .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn .small {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.store-btn .large {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Footer */
.site-footer {
    background-color: #0b0b14;
    padding: 4rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p, .footer-column li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-column a {
    color: var(--text-muted);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-showcase .phone-mockup:nth-child(even) {
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

    .intro-image {
        order: -1;
    }

    .gallery-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }

    .phone-frame {
        border-radius: 28px;
        padding: 8px;
        max-width: 180px;
    }

    .phone-notch {
        width: 60px;
        height: 16px;
        top: 8px;
        border-radius: 0 0 10px 10px;
    }

    .phone-screen {
        border-radius: 20px;
    }

    .gallery-showcase .phone-mockup:nth-child(even) {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .phone-frame {
        border-radius: 22px;
        padding: 6px;
        max-width: 160px;
    }

    .phone-notch {
        width: 50px;
        height: 12px;
        top: 6px;
        border-radius: 0 0 8px 8px;
    }

    .phone-screen {
        border-radius: 16px;
    }
}
