/* TactiClic Website Styles - Material Design Theme */
/* Color Mood: Energetic (Green/Teal Football Theme) */
/* Spacing: Generous | Borders: Soft (8-12px) | Animation: Flowing */

:root {
    --primary-color: #00897b;
    --primary-dark: #005b4f;
    --primary-light: #4ebaaa;
    --secondary-color: #43a047;
    --accent-color: #ffc107;
    --text-dark: #212121;
    --text-light: #757575;
    --background: #fafafa;
    --card-shadow: 0 4px 8px rgba(0,0,0,0.1);
    --card-shadow-hover: 0 8px 16px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .nav-wrapper {
    padding: 0 40px;
}

nav .brand-logo {
    font-size: 1.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul a {
    font-size: 1rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    margin: 0 5px;
}

nav ul a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    padding: 80px 40px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-text .tagline {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.4;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: left;
}

.hero-device {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.device-mockup {
    position: relative;
    max-width: 350px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.device-mockup::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(255,255,255,0.3));
    border-radius: 35px;
    z-index: -1;
}

.device-mockup img {
    width: 100%;
    border-radius: 25px;
    border: 8px solid #212121;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-download i {
    font-size: 1.5rem;
}

/* Section Styles */
.section {
    padding: 80px 40px;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: left;
    width: 100%;
}

/* Screenshots Section */
.screenshots-section {
    background: linear-gradient(180deg, #ffffff 0%, #e0f2f1 100%);
    padding: 60px 40px;
    max-height: 500px;
    overflow: visible;
}

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

.carousel {
    height: 100%;
}

.carousel .carousel-item {
    width: 280px !important;
    height: 380px;
}

.carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    filter: blur(0);
}

.carousel .carousel-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

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

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.8);
    transform: rotate(90deg);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.contact-form .input-field {
    margin-bottom: 30px;
}

.contact-form label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,137,123,0.1);
}

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

.file-field .btn {
    background: var(--primary-color);
    border-radius: 8px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 50px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

/* Privacy/Terms Content */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.content-page h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.content-page h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
}

.content-page h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 12px;
}

.content-page p,
.content-page ul,
.content-page ol {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: left;
}

.content-page ul,
.content-page ol {
    padding-left: 30px;
}

.content-page li {
    margin-bottom: 10px;
    text-align: left;
}

.content-page a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-page a:hover {
    color: var(--primary-dark);
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 40px;
    font-style: italic;
}

/* Privacy Accept Button (Flutter Integration) */
.privacy-accept-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.privacy-accept-button:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.privacy-accept-button:active {
    transform: translateX(-50%) translateY(-1px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark), #004d40);
    color: white;
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: left;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
    nav .nav-wrapper {
        padding: 0 20px;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-content {
        gap: 40px;
    }

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

    .hero-text .tagline {
        font-size: 1.2rem;
    }

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

    .section {
        padding: 60px 20px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .screenshots-section {
        max-height: 450px;
        padding: 50px 20px;
    }

    .screenshot-carousel {
        height: 350px;
    }

    .carousel .carousel-item {
        width: 250px !important;
        height: 350px;
    }

    .contact-form {
        padding: 40px 25px;
    }

    .content-page {
        padding: 40px 25px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media only screen and (max-width: 600px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .tagline {
        font-size: 1.1rem;
    }

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

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

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

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

    .section-subtitle {
        font-size: 1.1rem;
    }

    .screenshots-section {
        max-height: 380px;
        padding: 40px 15px;
    }

    .screenshot-carousel {
        height: 300px;
    }

    .carousel .carousel-item {
        width: 200px !important;
        height: 300px;
    }

    .privacy-accept-button {
        padding: 15px 40px;
        font-size: 1rem;
        bottom: 20px;
    }
}

/* Smooth transitions for all interactive elements */
a, button, .card, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Loading state for images */
img {
    transition: filter 0.3s ease;
}

img[data-loading="true"] {
    filter: blur(5px);
}
