/* ============================================
   DomApp.tech - Luxury Blue Design
   ============================================ */

:root {
    /* Modern Blue Color Palette - More Vibrant */
    --primary-blue: #0066FF;
    --primary-blue-dark: #0052CC;
    --primary-blue-light: #3385FF;
    --secondary-blue: #003D99;
    --accent-blue: #00B8FF;
    --accent-purple: #7C3AED;
    --dark-blue: #001A4D;
    --light-blue: #E6F2FF;
    --gradient-blue: linear-gradient(135deg, #0066FF 0%, #00B8FF 50%, #7C3AED 100%);
    --gradient-blue-bright: linear-gradient(135deg, #0066FF 0%, #00B8FF 100%);
    --gradient-dark: linear-gradient(135deg, #001A4D 0%, #003D99 100%);
    --gradient-radial: radial-gradient(circle at 30% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%);
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 120px 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows - More Dramatic */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-blue: 0 10px 40px rgba(0, 102, 255, 0.3);
    --shadow-blue-glow: 0 0 30px rgba(0, 102, 255, 0.4);
    --shadow-purple: 0 10px 40px rgba(124, 58, 237, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
    border-bottom-color: rgba(0, 102, 255, 0.2);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.logo-text {
    font-family: var(--font-display);
}

.logo-accent {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width var(--transition-base);
}

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

.language-switcher {
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

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

.lang-btn.active {
    background: var(--gradient-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: all var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 184, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: gradient-move 20s ease infinite;
}

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

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
    mix-blend-mode: multiply;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    bottom: -150px;
    left: -150px;
    animation-delay: 5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary-blue);
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--black);
    animation: fade-in-up 1s ease 0.1s both;
}

.title-line {
    display: block;
}

.title-accent {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    position: relative;
    display: inline-block;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
    opacity: 0.3;
    animation: pulse-glow 2s ease infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 0.6; transform: scaleX(1.05); }
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fade-in-up 1s ease 0.3s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 1s ease 0.5s both;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-blue-glow), 0 15px 50px rgba(0, 102, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============================================
   Section Styles
   ============================================ */

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 2px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Services Section
   ============================================ */

.services {
    background: var(--gray-50);
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-blue), var(--shadow-xl);
    border-color: var(--primary-blue);
    background: linear-gradient(to bottom, var(--white) 0%, rgba(230, 242, 255, 0.3) 100%);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-blue-bright);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
    box-shadow: var(--shadow-blue);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-blue-glow);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    background: var(--gray-50);
}

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

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    border: 2px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-blue), var(--shadow-xl);
    border-color: var(--primary-blue);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(230, 242, 255, 0.5) 100%);
    transform: scale(1.05);
    box-shadow: var(--shadow-blue);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-blue);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: var(--shadow-blue-glow), var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-blue);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

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

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-display);
}

.price-currency {
    font-size: 24px;
    color: var(--gray-600);
}

.pricing-period {
    color: var(--gray-600);
    font-size: 14px;
}

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

.pricing-features li {
    padding: 12px 0;
    color: var(--gray-700);
    position: relative;
    padding-left: 28px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    color: var(--gray-600);
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info {
    max-width: 500px;
}

.contact-details {
    margin-top: 48px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-blue-bright);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: var(--shadow-blue);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-blue-glow);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-600);
}

.contact-form {
    background: linear-gradient(135deg, rgba(249, 250, 251, 1) 0%, rgba(230, 242, 255, 0.5) 100%);
    padding: 40px;
    border-radius: 24px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15), var(--shadow-blue);
    transform: translateY(-2px);
    background: var(--white);
}

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

/* ============================================
   Footer
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 64px 0 32px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-blue);
    opacity: 0.5;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }

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

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    section {
        padding: 80px 0;
    }
}

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

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .contact-form {
        padding: 24px;
    }
}
