:root {
    --primary: #0f172a;
    --primary-dark: #1e293b;
    --secondary: #3b82f6;
    --accent: #60a5fa;
    --bg: #e2e8f0;
    --bg-alt: #cbd5e1;
    --text: #0f172a;
    --text-light: #475569;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-align: center;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        justify-content: space-between;
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 2rem;
    }
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85)), url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-start;
    padding-top: 6rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

/* Services Section */
.services {
    padding: 2rem 0;
    background: var(--bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.services p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card .material-icons {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.service-card p {
    text-align: center;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 2rem 0;
    text-align: center;
    margin-top: -1rem;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: left;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 2rem 0;
    background: var(--bg);
    margin-top: -1rem;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
}

.contact-info .material-icons {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    font-family: inherit;
    background: var(--bg-alt);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    color: var(--white);
    padding: 1.5rem 0;
    text-align: center;
}

/* Scroll Button */
.scroll-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary);
    color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.scroll-button.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-button:hover {
    transform: translateY(-2px);
    background: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(30, 41, 59, 0.35)), url('/assets/videos/auto-analyse.gif');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .contact-grid {
        gap: 2rem;
    }

    .scroll-button {
        bottom: 1rem;
        right: 1rem;
    }

    .services::before {
        display: none;
    }
    
    .services {
        background: var(--bg);
        position: relative;
    }

    .about, .contact {
        background: var(--bg);
    }

    .services-grid {
        position: relative;
        z-index: 1;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .service-card {
        background: rgba(203, 213, 225, 0.9);
        backdrop-filter: blur(10px);
        padding: 1rem;
    }

    .service-card .material-icons {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    display: none;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
}

.cookie-banner.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner.fade-out {
    opacity: 0;
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cookie-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.cookie-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0.8rem 0;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.cookie-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
}

.cookie-option span {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-option small {
    opacity: 0.7;
    font-size: 0.875rem;
}

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

.cookie-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.cookie-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.cookie-accept-all,
.cookie-save,
.cookie-decline {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
}

.cookie-accept-all {
    background: var(--secondary);
    color: var(--white);
}

.cookie-save {
    background: var(--primary-dark);
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-decline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-accept-all:hover,
.cookie-save:hover,
.cookie-decline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cookie-accept-all:hover {
    background: var(--accent);
}

.cookie-save:hover {
    background: var(--primary);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-accept-all,
    .cookie-save,
    .cookie-decline {
        width: 100%;
    }

    .cookie-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Privacy Policy Page */
.privacy-policy {
    padding: 3rem 0;
    background: var(--bg);
}

.privacy-policy h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.privacy-content {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.privacy-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 1.2rem 0 0.8rem;
    color: var(--primary);
}

.privacy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.6rem;
    color: var(--primary);
}

.privacy-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.8rem 0 0.5rem;
    color: var(--primary);
}

.privacy-content p {
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: var(--text);
}

.privacy-content ul {
    margin: 0.6rem 0;
    padding-left: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.3rem;
    line-height: 1.7;
    color: var(--text);
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 4rem 0;
    }

    .privacy-policy h1 {
        font-size: 2.5rem;
    }

    .privacy-content {
        padding: 2rem;
    }

    .privacy-content h2 {
        font-size: 1.8rem;
    }

    .privacy-content h3 {
        font-size: 1.3rem;
    }
}

/* Mobile Video Styles */
.mobile-video {
    display: none;
}

.mobile-video img {
    display: none;
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(30, 41, 59, 0.35)), url('/assets/videos/auto-analyse.gif');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }

    .services {
        background: var(--bg);
        position: relative;
    }

    .services::before {
        display: none;
    }

    .about, .contact {
        background: var(--bg);
    }

    .services-grid {
        position: relative;
        z-index: 1;
    }

    .service-card {
        background: rgba(203, 213, 225, 0.9);
        backdrop-filter: blur(10px);
    }
} 