:root {
    --primary-color: #00ffff;
    --secondary-color: #8b5cf6;
    --accent-color: #ffffff;
    --background-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00ffff, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6, #00ffff);
    --shadow-glow: 0 0 30px rgba(0, 255, 255, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Prevent horizontal scrolling on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for iOS safari bottom bar */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    font-weight: 700;
    font-size: 1.5rem;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    z-index: 1001;
}

.hamburger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(0, 255, 255, 0.1);
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(139, 92, 246, 0.1);
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(0, 255, 255, 0.15);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: rgba(139, 92, 246, 0.12);
    top: 10%;
    left: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.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: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--background-color);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    width: 300px;
    height: 400px;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { opacity: 0.3; filter: blur(10px); }
    to { opacity: 0.8; filter: blur(20px); }
}

.code-animation {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
}

.code-line {
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: typing 2s ease-in-out infinite;
}

.code-line:nth-child(1) { width: 80%; animation-delay: 0.5s; }
.code-line:nth-child(2) { width: 60%; animation-delay: 1s; }
.code-line:nth-child(3) { width: 90%; animation-delay: 1.5s; }
.code-line:nth-child(4) { width: 70%; animation-delay: 2s; }

@keyframes typing {
    0%, 50% { width: 0; }
    100% { width: var(--final-width, 80%); }
}

/* Hero Logo Styles */
.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.hero-logo {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8));
        transform: scale(1.05);
    }
}

/* Features Preview */
.features-preview {
    padding: 6rem 0;
    background: var(--surface-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--background-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--surface-color);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--background-color);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 3rem 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Social Icons */
.footer-social h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.footer-brand {
    grid-column: 1 / 3;
}

.newsletter {
    grid-column: 3 / 5;
}

.links-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.footer-column ul,
.links-section ul {
    list-style: none;
}

.footer-column ul li,
.links-section ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a,
.footer-column ul li span,
.links-section ul li a,
.links-section ul li span {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover,
.links-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Newsletter */
.newsletter p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    margin-bottom: 1.5rem;
}

.newsletter-input {
    display: flex;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.newsletter-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.2);
}

.newsletter-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input input::placeholder {
    color: var(--text-secondary);
}

.newsletter-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.1);
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.newsletter-benefits small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}



/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    background: var(--surface-color);
    margin: 0 -100vw;
    padding-left: 100vw;
    padding-right: 100vw;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copyright p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-legal {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge span {
    font-size: 1rem;
}

.badge small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Touch-friendly improvements for mobile devices */
@media (hover: none) and (pointer: coarse) {
    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
        touch-action: manipulation;
    }
    
    .feature-card {
        padding: 2.5rem 1.5rem;
        touch-action: manipulation;
    }
    
    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
        touch-action: manipulation;
    }
    
    /* Prevent zoom on input focus for iOS */
    input, textarea, select {
        font-size: 16px !important;
        transform: translateZ(0);
    }
    
    /* Improve touch targets */
    a, button, [role="button"] {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }

    /* Mobile navigation specific improvements */
    .nav-menu .nav-link {
        min-height: 56px;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .nav-menu.active {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-visual {
        order: -1;
    }
}

/* Tablet Portrait and Mobile Landscape */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(26, 26, 26, 0.98));
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem 2rem;
        transition: var(--transition);
        gap: 2.5rem;
        z-index: 999;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu.active .nav-link {
        animation: slideInUp 0.6s ease-out forwards;
    }
    
    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.8);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    .nav-link {
        font-size: 1.4rem;
        font-weight: 600;
        padding: 1.5rem 3rem;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.08);
        width: 85%;
        max-width: 300px;
        text-align: center;
        border: 2px solid rgba(0, 255, 255, 0.2);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.5px;
    }
    
    .nav-link:hover, .nav-link.active {
        background: var(--gradient-primary);
        color: var(--background-color);
        transform: scale(1.08) translateY(-5px);
        border-color: transparent;
        box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    /* Mobile nav link active state */
    .nav-link:active {
        transform: scale(1.02) translateY(-2px);
        transition: transform 0.1s ease;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--primary-color);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--primary-color);
    }
    
    .hero {
        padding-top: 70px;
        min-height: 90vh;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-card {
        width: 280px;
        height: 320px;
        margin: 0 auto;
    }
    
    .hero-logo {
        max-width: 120px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .features-preview {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .stats {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 2rem;
    }
    
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    
    .footer-brand {
        text-align: left;
        grid-column: 1;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    .newsletter {
        grid-column: 1;
    }
    
    .newsletter-input {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-input input {
        border-radius: 25px;
        padding: 1rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .newsletter-btn {
        width: 100%;
        border-radius: 25px;
        padding: 1rem;
        justify-content: center;
    }
    
    .social-icons {
        justify-content: flex-start;
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .footer-bottom {
        padding: 2rem 0 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .badge {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .newsletter-benefits {
        text-align: left;
        align-items: flex-start;
    }
}

/* Extra Small Mobile Devices (under 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .nav-menu {
        top: 0;
        height: 100vh;
        padding: 3rem 1.5rem;
        justify-content: center;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        padding: 1.2rem 2rem;
        width: 95%;
        max-width: 280px;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.08);
        border: 2px solid rgba(0, 255, 255, 0.2);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        letter-spacing: 0.3px;
    }
    
    .hero {
        padding-top: 60px;
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }
    
    .hero-card {
        width: 240px;
        height: 280px;
    }
    
    .hero-logo {
        max-width: 80px;
    }
    
    .hero-buttons {
        padding: 0 1rem;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .features-preview {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .footer {
        padding: 2.5rem 0 0;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-brand h3 {
        font-size: 1.2rem;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-column ul li a {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .newsletter h4 {
        font-size: 1rem;
    }
    
    .newsletter p {
        font-size: 0.85rem;
    }
    
    .newsletter-input input {
        font-size: 0.9rem;
        padding: 0.9rem 1.2rem;
    }
    
    .newsletter-btn {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
    
    .newsletter-benefits small {
        font-size: 0.75rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
    
    .footer-legal a {
        font-size: 0.75rem;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .badge {
        justify-content: center;
        width: 100%;
        max-width: 200px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .badge span {
        font-size: 0.9rem;
    }
    
    .badge small {
        font-size: 0.75rem;
    }
}

/* Extra Small Mobile Devices (under 320px) */
@media (max-width: 319px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.9rem;
        padding: 0 0.2rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    
    .feature-card {
        padding: 1.2rem 0.8rem;
        margin: 0 0.2rem;
    }
    
    .hero-card {
        width: 220px;
        height: 260px;
    }
    
    .hero-logo {
        max-width: 60px;
    }
}

/* Animation for about stats */
.about-stats {
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Legal Pages Styles */
.legal-hero {
    padding: 8rem 0 4rem;
    background: var(--surface-color);
    text-align: center;
    position: relative;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.legal-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.legal-content {
    padding: 4rem 0 6rem;
    background: var(--background-color);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.legal-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.legal-section li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: rgba(0, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--text-primary);
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 0 3rem;
    }
    
    .legal-hero h1 {
        font-size: 2.5rem;
    }
    
    .legal-hero p {
        font-size: 1.1rem;
    }
    
    .legal-content {
        padding: 3rem 0 4rem;
    }
    
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
    
    .legal-section h3 {
        font-size: 1.3rem;
    }
    
    .legal-section p {
        font-size: 0.95rem;
    }
    
    .legal-section li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        padding: 5rem 0 2rem;
    }
    
    .legal-hero h1 {
        font-size: 2rem;
    }
    
    .legal-hero p {
        font-size: 1rem;
    }
    
    .last-updated {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .legal-section {
        padding: 1.2rem;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section p {
        font-size: 0.9rem;
    }
    
    .legal-section li {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 1.2rem;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(10, 10, 10, 0.98));
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.cookie-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(176, 176, 176, 0.3);
}

.cookie-btn-decline:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.cookie-btn-settings:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary-color);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 255, 0.2);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.cookie-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: #333;
    border-radius: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-toggle.active {
    background: var(--primary-color);
}

.cookie-toggle.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle.active::after {
    transform: translateX(24px);
}

.cookie-category p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== WHATSAPP WIDGET ===== */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.whatsapp-button:hover::before {
    opacity: 1;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #25d366;
    border-radius: 50%;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface-color);
    color: var(--text-primary);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    margin-right: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--surface-color);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Mobile optimizations for cookie banner and WhatsApp */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cookie-text {
        min-width: unset;
    }

    .cookie-text h4 {
        font-size: 1.1rem;
    }

    .cookie-text p {
        font-size: 0.9rem;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 0.8rem 1rem;
    }

    .cookie-modal {
        padding: 1rem;
    }

    .cookie-modal-content {
        padding: 1.5rem;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-widget {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0.8rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
    }

    .cookie-btn {
        font-size: 0.85rem;
        padding: 0.7rem 0.8rem;
    }

    .whatsapp-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
} 