/* ==========================================
   CSS Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0071e3;
    --primary-dark: #0077ED;
    --primary-light: #2997ff;
    --secondary-color: #30d158;
    --accent-purple: #bf5af2;
    --accent-orange: #ff9f0a;
    --text-white: #f5f5f7;
    --text-light: #a1a1a6;
    --text-medium: #86868b;
    --bg-black: #000000;
    --bg-dark: #161617;
    --bg-darker: #0a0a0a;
    --bg-card: #1d1d1f;
    --border-color: #2d2d2f;
    --success-green: #30d158;
    --shadow-sm: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 48px 0 rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    background-color: var(--bg-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 5rem;
    font-weight: 900;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    padding: 12px 28px;
    border-radius: 980px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9375rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.125rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -250px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: 1.375rem;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ==========================================
   Section Styles
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   About Section
   ========================================== */
.about {
    padding: 120px 0;
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    background: var(--bg-card);
    padding: 48px 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 113, 227, 0.5);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.2);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.about-card h3 {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.about-card p {
    font-size: 1.0625rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ==========================================
   Products Section
   ========================================== */
.products {
    padding: 120px 0;
    background: var(--bg-black);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.product-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    color: white;
    border-radius: 980px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-name {
    font-size: 3.5rem;
    margin-bottom: 16px;
    font-weight: 900;
}

.product-tagline {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 24px;
    font-style: italic;
}

.product-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-light);
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateX(8px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 4px;
    color: var(--text-white);
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-medium);
}

.product-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    align-items: center;
}

.app-store-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.product-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Product Visual */
.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    filter: drop-shadow(0 30px 60px rgba(0, 113, 227, 0.4));
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(135deg, #2d2d2f 0%, #1d1d1f 100%);
    border-radius: 48px;
    padding: 16px;
    position: relative;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: var(--bg-black);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
}

.screen-placeholder {
    text-align: center;
}

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.5);
}

.screen-placeholder p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ==========================================
   Services Section
   ========================================== */
.services {
    padding: 120px 0;
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 113, 227, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-card:hover::before {
    height: 100%;
}

.service-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.875rem;
}

.service-card > p {
    margin-bottom: 24px;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    padding-left: 32px;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ==========================================
   Technology Stack Section
   ========================================== */
.tech-stack {
    padding: 120px 0;
    background: var(--bg-black);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.tech-category {
    text-align: center;
}

.tech-category h3 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tech-tag {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 980px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 24px;
    font-size: 3.5rem;
}

.contact-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 48px;
    color: var(--text-light);
}

.contact-methods {
    margin-bottom: 48px;
}

.contact-method {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: rgba(0, 113, 227, 0.5);
    transform: translateY(-4px);
}

.method-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.method-details h3 {
    margin-bottom: 8px;
    font-size: 1.375rem;
}

.method-details a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.2s ease;
}

.method-details a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.method-details p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    margin-top: 8px;
}

.contact-cta-box {
    padding: 48px;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(191, 90, 242, 0.1) 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 113, 227, 0.3);
    text-align: center;
}

.contact-cta-box h3 {
    margin-bottom: 16px;
    font-size: 2rem;
}

.contact-cta-box p {
    margin-bottom: 32px;
    font-size: 1.0625rem;
}

.contact-features h3 {
    margin-bottom: 32px;
    font-size: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.check-icon {
    width: 32px;
    height: 32px;
    background: var(--success-green);
    color: var(--bg-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.feature-point h4 {
    margin-bottom: 4px;
    color: var(--text-white);
}

.feature-point p {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-medium);
    margin-top: 20px;
    font-size: 1.0625rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.footer-column h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.0625rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--text-medium);
    text-decoration: none;
    margin-bottom: 14px;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-medium);
    font-size: 0.875rem;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-visual {
        order: -1;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .tech-categories {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }

    /* Mobile Navigation */
    .nav-links {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 16px;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-name {
        font-size: 2.5rem;
    }

    .product-tagline {
        font-size: 1.25rem;
    }

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

    .product-cta .btn-primary,
    .product-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .app-store-badge {
        height: 50px;
        margin: 0 auto;
    }

    .product-stats {
        flex-direction: column;
        gap: 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        padding: 32px;
    }

    .tech-categories {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .contact-cta-box {
        padding: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-header {
        margin-bottom: 60px;
    }
}

/* ==========================================
   Animations & Effects
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
