:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --accent: #ec4899;
    --accent-glow: rgba(236, 72, 153, 0.5);
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --font-main: 'Outfit', sans-serif;
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Glassmorphism Components */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.3s;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    font-weight: 500;
    opacity: 0.8;
}

nav a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Header height */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 1rem 0;
}

.price-feature {
    list-style: none;
    margin-bottom: 2rem;
}

.price-feature li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-feature li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* Order Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    color: white;
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Fix dropdown/select styling */
select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-control option {
    background-color: #1f1f1f;
    color: white;
    padding: 0.5rem;
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    border: 2px dashed var(--card-border);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {

    /* Typography scaling */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 1rem;
    }

    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 3rem 0;
    }

    /* Header mobile */
    header {
        padding: 1rem 0;
    }

    header .container {
        flex-wrap: wrap;
    }

    .logo {
        font-size: 1rem;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    nav ul {
        gap: 1rem;
    }

    nav ul li:not(:last-child) {
        display: none;
    }

    nav .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Hero section mobile */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .hero .container {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem !important;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content>div {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .hero-image {
        margin-top: 1rem;
    }

    .hero-image .floating-card img {
        width: 250px !important;
        max-width: 90vw;
    }

    /* Glass cards */
    .glass-card {
        padding: 1.5rem;
    }

    .glass-card:hover {
        transform: none;
    }

    /* Pricing grid mobile */
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    .price-tag {
        font-size: 2.5rem;
    }

    /* Form styles mobile */
    .form-control {
        padding: 0.875rem;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    /* Contact info grid - stack on mobile */
    form>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Package selection mobile */
    div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    .package-card {
        padding: 1.25rem !important;
    }

    /* Buttons mobile */
    .btn {
        padding: 0.875rem 1.25rem;
        width: 100%;
        display: block;
    }

    .hero-content .btn {
        width: auto;
        display: inline-block;
    }

    /* File upload */
    .file-upload-wrapper {
        height: 120px;
    }

    /* Footer */
    footer {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    /* Feature/info grids */
    div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 0.9rem;
        max-width: 150px;
    }

    .hero-image .floating-card img {
        width: 200px !important;
    }

    .glass-card {
        padding: 1.25rem;
    }

    .price-tag {
        font-size: 2rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .glass-card:hover {
        transform: none;
        box-shadow: none;
    }

    .btn:active {
        transform: scale(0.98);
    }

    .btn-primary:active {
        box-shadow: 0 0 25px var(--accent-glow);
    }
}