/* 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, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #6b7280;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-xl::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 4s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: -100%; }
    100% { left: 100%; }
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(31, 41, 55, 0.1);
    color: #1f2937;
    border: 2px solid rgba(31, 41, 55, 0.2);
}

.btn-secondary:hover {
    background: rgba(31, 41, 55, 0.05);
    border-color: rgba(31, 41, 55, 0.3);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 16px;
    min-width: 200px;
}

.btn-xl {
    padding: 24px 40px;
    font-size: 20px;
    border-radius: 20px;
    min-width: 320px;
    position: relative;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(255, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 12px 40px rgba(255, 0, 0, 0.6);
    }
}

.btn-xl:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 16px 40px rgba(255, 0, 0, 0.5);
    animation: none;
}

.btn-xl .btn-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-xl .btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.btn-xl .btn-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.btn-xl .btn-subtext {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1;
}

.btn-xl .btn-arrow {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-xl:hover .btn-arrow {
    transform: translateX(4px);
}

/* Header */
.header {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.1);
    z-index: 1000;
}

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

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

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

.nav-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff0000;
}

.nav-cta {
    padding: 10px 20px;
    font-size: 14px;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1f2937;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(31, 41, 55, 0.02) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(31, 41, 55, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 80px 0;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1f2937;
}

.gradient-text {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #6b7280;
}

.hero-cta {
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ff0000;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* VPN Mockup */
.vpn-mockup {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 400px;
    position: relative;
}

.connection-status {
    text-align: center;
    margin-bottom: 24px;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.status-text {
    font-weight: 600;
    color: #1f2937;
    animation: status-change 4s ease-in-out infinite;
}

@keyframes status-change {
    0%, 25% { content: "Connecting..."; }
    50%, 75% { content: "Connected"; }
    100% { content: "Secured"; }
}

.world-map {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, #ff0000, #10b981);
    transform: translateY(-50%);
    animation: connection-flow 3s ease-in-out infinite;
}

@keyframes connection-flow {
    0% { 
        background: linear-gradient(90deg, transparent, #ff0000, transparent);
        transform: translateY(-50%) translateX(-100%);
    }
    50% {
        background: linear-gradient(90deg, transparent, #10b981, transparent);
        transform: translateY(-50%) translateX(0%);
    }
    100% { 
        background: linear-gradient(90deg, transparent, #ff0000, transparent);
        transform: translateY(-50%) translateX(100%);
    }
}

.server-node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ff0000;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.server-1 {
    top: 30%;
    right: 25%;
    animation: node-pulse 2s ease-in-out infinite;
}

.server-2 {
    top: 60%;
    right: 15%;
    animation: node-pulse 2s ease-in-out infinite 0.5s;
}

.server-3 {
    top: 45%;
    right: 35%;
    animation: node-pulse 2s ease-in-out infinite 1s;
}

.user-location {
    position: absolute;
    top: 50%;
    left: 20%;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
}

.node-pulse, .location-pulse {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

.location-pulse {
    border-color: rgba(16, 185, 129, 0.3);
}

@keyframes node-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.connection-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.location-change {
    animation: location-switch 6s ease-in-out infinite;
}

@keyframes location-switch {
    0%, 33% { content: "New York, US"; }
    34%, 66% { content: "London, UK"; }
    67%, 100% { content: "Tokyo, JP"; }
}

.status-secure {
    color: #10b981;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: rgba(249, 250, 251, 0.5);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 120px 0;
}

.steps {
    display: flex;
    gap: 60px;
    margin-top: 80px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ff0000, rgba(255, 0, 0, 0.3));
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), rgba(31, 41, 55, 0.02));
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.cta-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.cta-button {
    margin-bottom: 3rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-weight: 500;
}

.cta-feature svg {
    color: #10b981;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

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

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .vpn-mockup {
        width: 100%;
        max-width: 350px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .btn-xl {
        min-width: 280px;
        padding: 20px 32px;
    }
    
    .btn-xl .btn-text {
        font-size: 18px;
    }
    
    .feature-card {
        padding: 30px;
    }
}