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

:root {
    --primary-blue: #0C438D;
    --secondary-blue: #1B5FAF;
    --accent-blue: #2E7BD4;
    --light-blue: #4A9EF1;
    --dark-bg: #0A0F1C;
    --card-bg: #1A1F2E;
    --text-primary: #FFFFFF;
    --text-secondary: #B8C5D6;
    --text-muted: #8A9BAE;
    --gradient-primary: linear-gradient(135deg, #0C438D 0%, #2E7BD4 100%);
    --gradient-secondary: linear-gradient(135deg, #1B5FAF 0%, #4A9EF1 100%);
    --shadow-primary: 0 20px 40px rgba(12, 67, 141, 0.2);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo i {
    color: var(--accent-blue);
    font-size: 1.8rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(12, 67, 141, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0A0F1C 0%, #1A1F2E 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(12, 67, 141, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(46, 123, 212, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-primary);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(12, 67, 141, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-blue);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.secondary-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.8s both;
}

.dashboard-mockup {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.mockup-dots span:nth-child(1) {
    background: #ff5f57;
}

.mockup-dots span:nth-child(2) {
    background: #ffbd2e;
}

.mockup-dots span:nth-child(3) {
    background: #28ca42;
}

.chart-area {
    height: 200px;
    background: linear-gradient(135deg, rgba(12, 67, 141, 0.1) 0%, rgba(46, 123, 212, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chart-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.chart-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4ADE80;
}

.chart-visualization {
    flex: 1;
    position: relative;
    margin-bottom: 10px;
}

.chart-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.chart-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.chart-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(
        to right,
        transparent 10%,
        var(--light-blue) 10% 25%,
        transparent 25% 40%,
        var(--light-blue) 40% 55%,
        transparent 55% 70%,
        var(--light-blue) 70% 85%,
        transparent 85%
    );
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    animation: drawLine 3s ease-out 1s both;
}

.chart-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--light-blue);
    border-radius: 50%;
    transform: translate(-50%, 50%) scale(0);
    box-shadow: 0 0 10px rgba(74, 158, 241, 0.5);
    animation: 
        pointAppear 0.5s ease-out 1.5s both,
        pulsePoint 2s ease-in-out 2s infinite;
}

.chart-point:nth-child(1) { animation-delay: 1.5s, 2s; }
.chart-point:nth-child(2) { animation-delay: 1.7s, 2.2s; }
.chart-point:nth-child(3) { animation-delay: 1.9s, 2.4s; }
.chart-point:nth-child(4) { animation-delay: 2.1s, 2.6s; }
.chart-point:nth-child(5) { animation-delay: 2.3s, 2.8s; }
.chart-point:nth-child(6) { animation-delay: 2.5s, 3s; }

.chart-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid var(--light-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.chart-labels span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-blue);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.floating-elements {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent-blue);
    animation: float 4s ease-in-out infinite;
    opacity: 0.6;
    transition: all 0.3s ease;
    background: rgba(12, 67, 141, 0.08);
    padding: 12px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(46, 123, 212, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.floating-icon:nth-child(1) {
    top: 20%;
    right: -25px;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    bottom: 30%;
    left: -25px;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: -25px;
    left: 30%;
    animation-delay: 2s;
}

.floating-icon:nth-child(4) {
    bottom: -25px;
    right: 25%;
    animation-delay: 1.5s;
}

.floating-icon:nth-child(5) {
    top: 60%;
    right: -25px;
    animation-delay: 2s;
}

.floating-icon:nth-child(6) {
    bottom: -25px;
    left: 60%;
    animation-delay: 2.5s;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

/* Providers Section */
.providers {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 100%);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.provider-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--light-blue);
    text-align: center;
}

.providers-list {
    display: grid;
    gap: 20px;
}

.provider-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.provider-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-blue);
}

.provider-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    width: 30px;
    text-align: center;
}

.provider-item span {
    font-weight: 500;
    color: var(--text-primary);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--dark-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.pricing-card.featured {
    border: 2px solid var(--accent-blue);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.price {
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-blue);
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.custom {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-blue);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.plan-features i {
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.plan-button {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.enterprise .plan-button {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
}

.enterprise .plan-button:hover {
    background: var(--accent-blue);
    color: white;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.cta .primary-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.cta .secondary-btn {
    background: transparent;
    color: white;
    border-color: white;
}

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

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-logo i {
    color: var(--accent-blue);
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: var(--text-muted);
}

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

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--light-blue);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes chartGrow {
    from {
        height: 0%;
    }
    to {
        height: 60%;
    }
}

@keyframes pulsePoint {
    0%, 100% {
        transform: translate(-50%, 50%) scale(1);
        box-shadow: 0 0 10px rgba(74, 158, 241, 0.5);
    }
    50% {
        transform: translate(-50%, 50%) scale(1.2);
        box-shadow: 0 0 20px rgba(74, 158, 241, 0.8);
    }
}

@keyframes drawLine {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 0.6;
        transform: scaleX(1);
    }
}

@keyframes pointAppear {
    from {
        transform: translate(-50%, 50%) scale(0);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 50%) scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-elements {
        display: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .primary-btn, .secondary-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}