:root {
    --primary-color: #6366f1;
    --primary-hover: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #f472b6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow: 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);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #f472b6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
}

.modern-header {
    background: var(--bg-card);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-header.scrolled {
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
}

.modern-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.modern-logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.modern-logo-title {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-nav-link {
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modern-nav-link:hover,
.modern-nav-link.active {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

.modern-nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.modern-nav-link:hover::after,
.modern-nav-link.active::after {
    width: 30px;
}

.modern-nav-dropdown {
    position: relative;
}

.modern-nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.modern-nav-dropdown:hover .modern-nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.modern-nav-dropdown-item:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
    padding-left: 24px;
}

.modern-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none;
}

.modern-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.modern-btn-secondary {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary-color);
}

.modern-btn-secondary:hover {
    background: rgba(99, 102, 241, 0.15);
}

.modern-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.modern-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.modern-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e1e2e 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.modern-hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -25%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.1) 0%, transparent 70%);
}

.modern-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.modern-hero-content {
    text-align: left;
}

.modern-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.modern-hero-title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 32px;
    line-height: 1.8;
}

.modern-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.modern-hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-hero-stat {
    text-align: left;
}

.modern-hero-stat-value {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-hero-stat-label {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 4px;
}

.modern-hero-visual {
    position: relative;
}

.modern-hero-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transform: perspective(1000px) rotateY(-5deg);
    animation: float 6s ease-in-out infinite;
}

.modern-hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modern-hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.modern-hero-card-title {
    font-size: 18px;
    font-weight: 600;
}

.modern-hero-card-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-hero-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modern-hero-card-item i {
    color: var(--success-color);
}

@keyframes float {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    }
}

.modern-features {
    padding: 80px 24px;
    background: var(--bg-light);
}

.modern-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.modern-section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.modern-section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modern-section-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modern-features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.modern-feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.modern-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.modern-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modern-feature-card:hover .modern-feature-icon {
    background: var(--gradient-primary);
    color: white;
}

.modern-feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.modern-feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modern-services {
    padding: 80px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.modern-services-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.modern-services-content {
    order: 2;
}

.modern-services-image {
    order: 1;
    position: relative;
}

.modern-services-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.modern-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modern-services-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.modern-services-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.modern-services-item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.modern-services-item span {
    font-size: 14px;
    font-weight: 500;
}

.modern-pricing {
    padding: 80px 24px;
    background: var(--bg-light);
}

.modern-pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.modern-pricing-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.modern-pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

.modern-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.modern-pricing-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.modern-pricing-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modern-pricing-price {
    margin-bottom: 24px;
}

.modern-pricing-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.modern-pricing-period {
    font-size: 14px;
    color: var(--text-secondary);
}

.modern-pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.modern-pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.modern-pricing-feature i {
    color: var(--success-color);
}

.modern-footer {
    background: #0f172a;
    padding: 80px 24px 40px;
}

.modern-footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.modern-footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.modern-footer-brand {
    grid-column: span 1;
}

.modern-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modern-footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.modern-footer-logo-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.modern-footer-description {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 24px;
}

.modern-footer-links {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.modern-footer-links-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.modern-footer-links-column ul {
    list-style: none;
}

.modern-footer-links-column li {
    margin-bottom: 12px;
}

.modern-footer-links-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modern-footer-links-column a:hover {
    color: white;
    padding-left: 4px;
}

.modern-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.modern-footer-copyright {
    font-size: 14px;
    color: #64748b;
}

.modern-footer-social {
    display: flex;
    gap: 12px;
}

.modern-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
}

.modern-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1e2e 50%, #0f172a 100%);
    position: relative;
}

.modern-login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.modern-login-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.modern-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.modern-login-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.modern-login-subtitle {
    font-size: 14px;
    color: #94a3b8;
}

.modern-form-group {
    margin-bottom: 20px;
}

.modern-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

.modern-form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.modern-form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.modern-form-control::placeholder {
    color: #64748b;
}

.modern-form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #94a3b8;
}

.modern-form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.modern-form-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modern-form-link:hover {
    text-decoration: underline;
}

.modern-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modern-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.modern-card:hover {
    box-shadow: var(--shadow-lg);
}

.modern-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modern-card-title {
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .modern-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modern-hero-title {
        font-size: 40px;
    }
    
    .modern-hero-stats {
        justify-content: center;
    }
    
    .modern-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modern-services-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modern-services-content,
    .modern-services-image {
        order: initial;
    }
    
    .modern-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-pricing-card.featured {
        transform: none;
    }
    
    .modern-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modern-footer-links {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .modern-header-container {
        padding: 12px 16px;
    }
    
    .modern-nav {
        display: none;
    }
    
    .modern-hero-title {
        font-size: 32px;
    }
    
    .modern-hero-subtitle {
        font-size: 16px;
    }
    
    .modern-section-title {
        font-size: 28px;
    }
    
    .modern-features-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-services-list {
        grid-template-columns: 1fr;
    }
    
    .modern-login-card {
        padding: 32px 24px;
    }
}