/* DigitalMax - MODERN Redesign 2026 */

:root {
    /* Modern Brand Colors - More Vibrant */
    --primary: #0f172a;
    --primary-dark: #020617;
    --secondary: #3b82f6;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --success: #22c55e;
    --success-light: #dcfce7;
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #312e81 50%, #1e1b4b 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px);
    
    /* Neutrals - Warmer tones */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #64748b;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography - Modern Scale */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Modern Spacing */
    --container-max: 1280px;
    --section-padding: 100px;
    --grid-gap: 32px;
    
    /* Modern Shadows - Softer, more diffused */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px -10px rgba(249, 115, 22, 0.3);
    
    /* Modern Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Animations */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Modern Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

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

@media (min-width: 640px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    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: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

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

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 60px -10px rgba(249, 115, 22, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Modern Header with Glassmorphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-md);
}

/* Modern Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-menu > li > a:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

.nav-phone {
    font-weight: 700;
    color: var(--accent) !important;
}

/* Modern Dropdown */
.services-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform var(--transition-fast);
}

.services-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    list-style: none;
}

.services-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gray-800);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background-color: var(--gray-100);
    color: var(--accent);
}

/* Modern Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 60px 0;
}

.no-contracts-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.no-contracts-badge span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    font-size: 14px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subheadline {
    font-size: clamp(20px, 3vw, 28px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-guarantee {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 24px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

/* Modern Trust Banner */
.trust-banner {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 20px 0;
}

.trust-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-banner-text {
    font-size: 16px;
    color: var(--gray-800);
    font-weight: 500;
}

.trust-banner-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    transition: all var(--transition-fast);
}

.trust-banner-phone:hover {
    color: var(--accent-hover);
    transform: scale(1.05);
}

.trust-banner-phone svg {
    width: 24px;
    height: 24px;
}

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

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

/* Modern Section Styles */
.section-white {
    background: var(--white);
    padding: var(--section-padding) 0;
}

.section-gray {
    background: var(--gray-50);
    padding: var(--section-padding) 0;
}

.section-dark {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--section-padding) 0;
}

/* Modern Cards */
.service-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
}

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

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

/* Modern Package Cards */
.package-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.package-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.package-header {
    text-align: center;
    margin-bottom: 32px;
}

.package-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.package-best-for {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

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

.package-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
    color: var(--gray-800);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.package-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* Modern Comparison Table */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px 16px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

th:first-child {
    text-align: left;
}

td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

tr:hover td {
    background-color: var(--gray-50);
}

/* Modern Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

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

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

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-fast);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}
