:root {
    --primary: #ffffff;
    --secondary: #a1a1aa;
    --accent: #10b981;
    --accent-blue: #3b82f6;
    --background: #000000;
    --text: #ffffff;
    --card-bg: #18181b;
    --border: #27272a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 80px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .logo-container {
    margin: 0;
}

.site-header .logo {
    width: 120px;
    height: auto;
}

.site-header .logo-text {
    fill: var(--text);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.site-header .ia-text {
    fill: var(--text);
}

.site-header .pulse {
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 5px var(--accent));
}

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 3px solid var(--accent);
    border-bottom: 3px solid var(--accent);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
    filter: drop-shadow(0 0 5px var(--accent));
}

@keyframes scrollBounce {
    0%, 100% {
        transform: rotate(45deg) translate(-8px, -8px);
    }
    50% {
        transform: rotate(45deg) translate(-4px, -4px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 0.8;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.neural-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(16, 185, 129, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 185, 129, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    mix-blend-mode: screen;
    animation: float 20s ease-in-out infinite;
}

.gradient-orb.primary {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.4), transparent 70%);
    top: -200px;
    right: -200px;
}

.gradient-orb.secondary {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.4), transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, 30px) rotate(5deg); }
    50% { transform: translate(0, 60px) rotate(0deg); }
    75% { transform: translate(-30px, 30px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 3rem 0 1.5rem;
    line-height: 1;
    color: var(--text);
    white-space: nowrap;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-content h1 .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 4rem;
}

.accent {
    color: var(--accent);
}

.form-container p {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.9rem;
    text-align: left;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--secondary);
}

.input-wrapper input {
    width: 100%;
    height: 45px;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--secondary);
}

.phone-input {
    display: flex;
    align-items: center;
    width: 100%;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding-left: 2.5rem;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 0.4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.country-code img {
    width: 20px;
    height: auto;
}

.country-code span {
    color: var(--text);
    font-size: 0.9rem;
}

.phone-input input {
    border: none;
    background: transparent;
    padding: 0.8rem;
}

.phone-input input:focus {
    box-shadow: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
    border: none;
    border-radius: 8px;
    color: var(--background);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--accent-blue);
}

/* Error Message Styles */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    animation: errorSlideIn 0.3s ease-out;
}

.error-message i {
    font-size: 0.9rem;
}

@keyframes errorSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--text) 30%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: rgba(24, 24, 27, 0.6);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -10px var(--accent);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

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

/* Integration Showcase */
.integration-showcase {
    text-align: center;
    margin-bottom: 3rem;
}

.integration-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.integration-logos img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.integration-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.integration-text {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(24, 24, 27, 0.6);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -10px var(--accent-blue);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Process Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: rgba(24, 24, 27, 0.6);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -10px var(--accent);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    color: var(--background);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.step-card p {
    color: var(--secondary);
}

/* Section CTA */
.section-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
    color: var(--background);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 auto;
    display: table;
}

.section-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Footer Styles */
.site-footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--secondary);
    font-size: 0.9rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 400px;
    width: calc(100% - 4rem);
    background: var(--background);
    color: var(--text);
    z-index: 9999;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: left;
    display: block;
}

.cookie-banner h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

.cookie-banner p {
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.primary {
    background: rgba(24, 24, 27, 0.6);
    color: var(--text);
    flex: 2;
    border: 1px solid var(--accent);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.cookie-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
    transition: 0.5s;
}

.cookie-btn.primary:hover::before {
    left: 100%;
}

.cookie-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    border-color: var(--accent-blue);
}

.cookie-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    flex: 1;
    border: 1px solid var(--border);
}

.cookie-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.cookie-banner-links {
    text-align: center;
}

.cookie-banner-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.cookie-banner-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-blue));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.cookie-banner-links a:hover::after {
    width: 100%;
}

/* Cookie Preference Modal */
.cookie-preference-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.cookie-preference-content {
    background: var(--background);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--text);
    border: 1px solid var(--border);
    text-align: left;
}

.cookie-preference-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 600;
}

.cookie-type {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.cookie-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cookie-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--border);
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
}

.cookie-checkbox input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.cookie-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cookie-checkbox-label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}

.cookie-description {
    font-size: 0.85rem;
    color: var(--secondary);
    line-height: 1.4;
}

.cookie-preference-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Hide scroll indicator completely */
.desktop-only {
    display: none !important;
}

/* Animation */
.cookie-banner, .cookie-preference-modal {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    body {
        padding-top: 60px;
    }

    .site-header {
        height: 60px;
        padding: 0 1rem;
    }

    .site-header .logo {
        width: 100px;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding: 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin: -3rem 0 1rem;
        white-space: normal;
        line-height: 1.3;
        display: block;
        text-align: center;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    #contact-form {
        padding: 1.5rem;
        margin-bottom: 5rem;
    }

    .input-wrapper input,
    .phone-input {
        padding: 0.6rem 1rem 0.6rem 2.5rem;
    }

    .submit-btn {
        padding: 0.8rem;
    }

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

    .integration-logos img {
        height: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: none;
        border-radius: 12px 12px 0 0;
        transform: none;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-preference-content {
        margin: 1rem;
        padding: 1rem;
    }
}
