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

:root {
    --color-primary: #2563EB;
    --color-primary-dark: #1E40AF;
    --color-secondary: #475569;
    --color-accent: #38BDF8;
    --color-accent-bright: #0EA5E9;
    --color-bg-dark: #0F172A;
    --color-bg-darker: #020617;
    --color-bg-card: #1E293B;
    --color-bg-glass: rgba(30, 41, 59, 0.7);
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #CBD5E1;
    --color-text-muted: #94A3B8;
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --gradient-accent: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 100%);
    --gradient-hero: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, #0F172A 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: none;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px
}

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

body::before {
    content: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary)
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem)
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.125rem)
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast)
}

a:hover {
    color: var(--color-accent-bright)
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: var(--z-fixed);
    transition: all var(--transition-base)
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg)
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform var(--transition-fast)
}

.nav-logo:hover {
    transform: scale(1.05)
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition-base)
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary)
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs)
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-base)
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px)
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px)
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero)
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1
}

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

.hero-title {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.2s backwards
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 0.4s backwards
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s backwards
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left var(--transition-base)
}

.btn:hover::before {
    left: 100%
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md)
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg)
}

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

.btn-secondary:hover {
    background: var(--color-bg-glass);
    transform: translateY(-2px)
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg)
}

.section {
    padding: var(--spacing-3xl) 0;
    position: relative
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl)
}

.section-title {
    margin-bottom: var(--spacing-md)
}

.section-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl)
}

.feature-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0
}

.feature-card:hover::before {
    opacity: 0.1
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg)
}

.feature-card>* {
    position: relative;
    z-index: 1
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md)
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm)
}

.feature-description {
    color: var(--color-text-muted);
    margin-bottom: 0
}

.footer {
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-3xl)
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg)
}

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

.footer-section h4 {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem
}

.footer-links {
    list-style: none
}

.footer-links li {
    margin-bottom: var(--spacing-xs)
}

.footer-links a {
    color: var(--color-text-muted);
    transition: color var(--transition-fast)
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted)
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl)
}

.form-group {
    margin-bottom: var(--spacing-lg)
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
    font-weight: 500
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast)
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1)
}

.form-textarea {
    resize: vertical;
    min-height: 150px
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto
}

.privacy-section {
    margin-bottom: var(--spacing-xl)
}

.privacy-section h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md)
}

.privacy-section ul {
    list-style-position: inside;
    color: var(--color-text-secondary)
}

.privacy-section li {
    margin-bottom: var(--spacing-xs)
}

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

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:1024px) {
    :root {
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center
    }

    .hero-buttons {
        justify-content: center
    }

    .hero-image {
        order: -1
    }
}

@media(max-width:768px) {
    :root {
        --spacing-3xl: 3rem;
        --spacing-2xl: 2rem;
        --spacing-xl: 2rem
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: var(--spacing-xl);
        gap: var(--spacing-md);
        transition: left var(--transition-base)
    }

    .nav-menu.active {
        left: 0
    }

    .nav-toggle {
        display: flex
    }

    .hero {
        min-height: auto;
        padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl)
    }

    .hero-buttons {
        flex-direction: column
    }

    .btn {
        width: 100%;
        justify-content: center
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center
    }

    .container {
        padding: var(--spacing-xl) var(--spacing-md)
    }
}

@media(max-width:480px) {
    html {
        font-size: 14px
    }

    .nav-container {
        padding: var(--spacing-sm) var(--spacing-md)
    }

    .hero {
        padding: calc(70px + var(--spacing-lg)) var(--spacing-sm) var(--spacing-lg)
    }
}