/* Touchdown Stats - Custom Styles */
/* Design: Material Design with Energetic Color Palette */

:root {
    --primary-color: #FF5722;
    --primary-dark: #E64A19;
    --primary-light: #FFCCBC;
    --secondary-color: #1565C0;
    --secondary-dark: #0D47A1;
    --accent-color: #FF9800;
    --text-dark: #212121;
    --text-medium: #757575;
    --text-light: #BDBDBD;
    --background-light: #FAFAFA;
    --background-white: #FFFFFF;
    --success-color: #4CAF50;
    --gradient-start: #FF5722;
    --gradient-end: #FF9800;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
    margin: 0;
    padding: 0;
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3) !important;
}

nav .brand-logo {
    font-weight: 700 !important;
    letter-spacing: 1px;
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem !important;
    padding-left: 15px !important;
}

nav .brand-logo i {
    font-size: 1.8rem;
}

nav ul li a {
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.sidenav {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
}

.sidenav li > a {
    color: white !important;
    font-weight: 500;
}

.sidenav li > a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    text-align: left;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 28px;
    height: 54px;
    font-weight: 600;
    text-transform: none;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn-primary {
    background-color: white !important;
    color: var(--primary-color) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.hero-buttons .btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-3px);
}

/* Device Mockup */
.device-mockup {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.device-frame {
    position: relative;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 35px;
    padding: 12px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.device-screen {
    border-radius: 25px;
    overflow: hidden;
    background: #000;
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--background-white);
}

.section-gray {
    background-color: var(--background-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.7;
}

/* Screenshot Carousel */
.screenshot-section {
    max-height: 500px;
    padding: 60px 0;
    background: linear-gradient(180deg, var(--background-light) 0%, var(--background-white) 100%);
}

.screenshot-carousel {
    max-width: 350px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
}

.screenshot-device {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.screenshot-device::before {
    content: '';
    display: block;
    width: 60px;
    height: 18px;
    background: #1a1a1a;
    margin: 0 auto 8px;
    border-radius: 0 0 12px 12px;
}

.screenshot-device img {
    width: 100%;
    border-radius: 20px;
    display: block;
    filter: blur(10px);
    transition: filter 0.5s ease;
}

.screenshot-device img.loaded {
    filter: blur(0);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

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

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

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

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

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 35px;
    height: 56px;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05rem;
    border-radius: 10px;
}

.cta-buttons .btn-white {
    background: white !important;
    color: var(--secondary-color) !important;
}

.cta-buttons .btn-outline {
    background: transparent !important;
    border: 2px solid white;
    color: white !important;
}

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

footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

footer p, footer li {
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    text-align: center;
}

/* Privacy Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.content-section {
    padding: 60px 0;
}

.content-card {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: -80px auto 0;
    position: relative;
    z-index: 10;
}

.content-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 35px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.content-card h2:first-of-type {
    margin-top: 0;
}

.content-card p {
    color: var(--text-medium);
    line-height: 1.8;
    text-align: left;
    margin-bottom: 15px;
}

.content-card ul, .content-card ol {
    color: var(--text-medium);
    text-align: left;
    padding-left: 25px;
    margin-bottom: 20px;
}

.content-card li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.content-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Privacy Accept Button */
.privacy-accept-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9) 30%);
    padding: 30px 20px 25px;
    z-index: 9999;
    display: none;
}

.privacy-accept-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--success-color), #388E3C) !important;
    color: white !important;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: none;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.privacy-accept-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.5);
}

/* Contact Form */
.contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    padding: 40px;
    color: white;
    height: 100%;
}

.contact-info-card h3 {
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.contact-info-item span {
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

.input-field label {
    color: var(--text-medium) !important;
}

.input-field input:focus,
.input-field textarea:focus {
    border-bottom-color: var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

.input-field input:focus + label,
.input-field textarea:focus + label {
    color: var(--primary-color) !important;
}

.file-field .btn {
    background: var(--primary-color) !important;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    text-transform: none;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.form-success h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-medium);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-card {
        padding: 35px 25px;
        margin: -60px 15px 0;
    }

    nav .brand-logo {
        font-size: 1.2rem !important;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        text-align: center;
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .device-mockup {
        max-width: 220px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-info-card {
        margin-bottom: 30px;
    }

    .screenshot-section {
        max-height: 450px;
        padding: 40px 0;
    }

    .screenshot-carousel {
        max-width: 280px;
    }
}

@media screen and (max-width: 600px) {
    nav .brand-logo {
        font-size: 1.1rem !important;
        padding-left: 10px !important;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .content-card {
        padding: 25px 20px;
    }

    .content-card h2 {
        font-size: 1.4rem;
    }

    footer .col {
        margin-bottom: 30px;
    }

    .screenshot-carousel {
        max-width: 250px;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* Lazy loading placeholder */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
