/* CSS Variables for Design System */
:root {
    /* Colors */
    --color-primary: #0369a1;
    --color-primary-dark: #0284c7;
    --color-secondary: #64748b;
    --color-accent: #fbbf24;
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-text-light: #94a3b8;
    --color-bg: #fafbfc;
    --color-bg-secondary: #f1f5f9;
    --color-white: #ffffff;
    --color-border: rgba(148, 163, 184, 0.1);
    --color-border-hover: rgba(3, 105, 161, 0.2);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 600;
}

h3 {
    font-size: 1.875rem;
    line-height: 1.3;
    font-weight: 600;
}

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

p {
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Layout Components */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: #0f172a;
}

.section-header p {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.6;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    transition: all var(--transition-normal);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    transition: width var(--transition-normal);
}

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

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

/* Mobile Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    background: none;
    border: none;
    z-index: 1001;
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 3px 0;
    transition: var(--transition-fast);
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    backdrop-filter: blur(20px);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav .nav-link {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.mobile-nav .nav-link:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 3rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.footer p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: #e2e8f0;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 2.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm), 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all var(--transition-slow);
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-md);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: var(--spacing-2xl);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    letter-spacing: -0.025em;
}

.card-text {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.025em;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 16px rgba(3, 105, 161, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.btn:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(3, 105, 161, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(3, 105, 161, 0.2);
}

.btn-secondary {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    box-shadow: 0 4px 16px rgba(71, 85, 105, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    box-shadow: 0 8px 32px rgba(71, 85, 105, 0.3);
}

/* Grid System */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-5 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Forms */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0369a1;
    box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Features List */
.features {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    color: #0369a1;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    background: rgba(3, 105, 161, 0.1);
    padding: 0.75rem;
    border-radius: 12px;
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    gap: 2.5rem;
    margin: 4rem 0;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    border-color: rgba(3, 105, 161, 0.2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
}

.pricing-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #0369a1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.pricing-description {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    padding: var(--spacing-xl);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition-normal);
}

.accordion-header:hover {
    background: rgba(3, 105, 161, 0.02);
}

.accordion-header:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.accordion-icon {
    transition: transform var(--transition-normal);
    font-size: 1.25rem;
    color: var(--color-primary);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.accordion-content .accordion-body {
    padding: var(--spacing-xl);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

/* Reviews */
.reviews {
    display: grid;
    gap: 2.5rem;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.review-rating {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.review-author {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.review-location {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
    padding: 10rem 0 8rem;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%230369a1" stop-opacity="0.05"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="300" r="120" fill="url(%23a)"/><circle cx="600" cy="700" r="100" fill="url(%23a)"/></svg>');
    opacity: 0.6;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    padding-right: 2rem;
}

.hero-content h1 {
    margin-bottom: 2rem;
}

.hero-content h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

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

.hero img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-slow);
}

.hero img:hover {
    transform: scale(1.02);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #475569;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .header .container {
        flex-direction: row;
        height: auto;
        padding: 1.5rem;
    }

    .nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .section {
        padding: 5rem 0;
    }

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 6rem 0 5rem;
    }

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

    .hero p {
        font-size: 1.25rem;
    }

    .hero img {
        max-width: 500px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .grid-5 {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .pricing-card {
        padding: 2.5rem 2rem;
    }

    .review-card {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

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

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

    .hero img {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .nav {
        gap: 1.5rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-content {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    .review-card {
        padding: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feature-icon {
        align-self: center;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.success-message {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1.5rem;
    border: 1px solid #86efac;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    font-weight: 500;
}

.privacy-notice {
    font-size: 0.95rem;
    color: var(--color-secondary);
    margin-top: var(--spacing-lg);
    line-height: 1.6;
    padding: var(--spacing-lg);
    background: rgba(148, 163, 184, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll effect for header */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}