/* Cutova Marketing Site Styles */

:root {
    --primary: #0e7490;
    --primary-hover: #155e75;
    --secondary: #22d3ee;
    --ink: #0f172a;
    --ink-muted: #64748b;
    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary: #22d3ee;
        --primary-hover: #06b6d4;
        --secondary: #0e7490;
        --ink: #f1f5f9;
        --ink-muted: #94a3b8;
        --bg: #0f172a;
        --bg-subtle: #1e293b;
        --border: #334155;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --primary: #22d3ee;
    --primary-hover: #06b6d4;
    --secondary: #0e7490;
    --ink: #f1f5f9;
    --ink-muted: #94a3b8;
    --bg: #0f172a;
    --bg-subtle: #1e293b;
    --border: #334155;
    color-scheme: dark;
}

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

body {
    font-family: var(--font-display);
    background:
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80&auto=format&fit=crop&sat=-100') center/cover fixed;
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(24px, env(safe-area-inset-left, 0px)) 0 max(24px, env(safe-area-inset-right, 0px));
}

/* Header */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header .logo {
    height: 32px;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header nav a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.header nav a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 100%);
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero .btn-secondary {
    color: white;
    border-color: white;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/office-buildings.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
    animation: flyover 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes flyover {
    0% {
        transform: translateX(-10%);
        opacity: 0.3;
    }
    50% {
        transform: translateX(10%);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-10%);
        opacity: 0.3;
    }
}

.features h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

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

.feature-card {
    background: var(--bg-subtle);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--ink);
}

.feature-card p {
    color: var(--ink-muted);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/office-buildings.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.pricing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
    animation: flyover 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.pricing h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--ink-muted);
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.pricing-category {
    text-align: center;
    font-size: 32px;
    margin: 60px 0 16px;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.pricing-category:first-of-type {
    margin-top: 0;
}

.pricing-description {
    text-align: center;
    color: var(--ink-muted);
    margin-bottom: 40px;
    font-size: 18px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 40px 32px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-tier {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
}

.currency {
    font-size: 24px;
    color: var(--ink-muted);
}

.price {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
}

.period {
    font-size: 18px;
    color: var(--ink-muted);
}

.price-custom {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.data-capacity {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

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

.pricing-note {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    margin-top: 40px;
}

.pricing-note strong {
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/office-buildings.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.05) 50%, transparent 100%);
    animation: flyover 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.contact h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-subtle);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg);
    color: var(--ink);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.quote-form button[type="submit"] {
    margin-top: 16px;
}

/* Footer */
.footer {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    margin-top: 80px;
}

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

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--ink);
}

.footer-section a,
.footer-section p {
    display: block;
    color: var(--ink-muted);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .features h2,
    .pricing h2,
    .contact h2 {
        font-size: 32px;
    }

    .pricing-category {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 32px 24px;
    }

    .header nav {
        gap: 16px;
    }

    .header nav a:not(.btn) {
        display: none;
    }
}
