/* PitchMate - Creative & Playful Design with Natural Colors */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* CSS Variables */
:root {
    --primary-green: #2D5016;
    --light-green: #4A7C23;
    --accent-orange: #E67E22;
    --accent-gold: #F4B942;
    --earth-brown: #8B4513;
    --cream: #FDF8F0;
    --white: #FFFFFF;
    --dark-text: #2C3E50;
    --gray-text: #5D6D7E;
    --light-gray: #ECF0F1;
    --success: #27AE60;
    --shadow: rgba(45, 80, 22, 0.15);
    --shadow-strong: rgba(45, 80, 22, 0.25);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark-text);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    color: var(--primary-green);
}

.title.is-1 { font-size: 2.5rem; }
.title.is-2 { font-size: 2rem; }
.title.is-3 { font-size: 1.5rem; }

@media screen and (min-width: 769px) {
    .title.is-1 { font-size: 3rem; }
    .title.is-2 { font-size: 2.25rem; }
    .title.is-3 { font-size: 1.75rem; }
}

p, .content p {
    text-align: left;
    color: var(--gray-text);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand .navbar-item {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-green);
    gap: 0.5rem;
}

.navbar-brand .navbar-item:hover {
    background: transparent;
    color: var(--light-green);
}

.navbar-item {
    color: var(--dark-text);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.navbar-item:hover {
    background-color: var(--light-gray);
    color: var(--primary-green);
    border-radius: 8px;
}

.navbar-burger {
    color: var(--primary-green);
    height: 3.5rem;
    width: 3.5rem;
}

.navbar-burger span {
    background-color: var(--primary-green);
    height: 2px;
}

.navbar-menu {
    background: var(--white);
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        box-shadow: 0 8px 16px var(--shadow);
        padding: 0.5rem 0;
    }

    .navbar-menu.is-active {
        display: block;
    }
}

/* Buttons */
.button {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-radius: 10px;
    padding: 1.25rem 2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    line-height: 1.4;
}

.button.is-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-strong);
}

.button.is-primary:hover {
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

.button.is-secondary {
    background: var(--white);
    border: 3px solid var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 4px 15px var(--shadow);
}

.button.is-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

.button.is-accent {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.button.is-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.button.is-large {
    font-size: 1.1rem;
    padding: 1.5rem 2.5rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cream) 0%, #E8F5E9 50%, var(--cream) 100%);
    padding: 8rem 1.5rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(74, 124, 35, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
}

.hero-content .title {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .subtitle {
    color: var(--gray-text);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

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

@media screen and (min-width: 769px) {
    .device-mockup {
        max-width: 320px;
    }
}

.device-frame {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 35px;
    padding: 12px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px 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: var(--dark-text);
}

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

/* Screenshots Section */
.screenshots-section {
    padding: 3rem 1.5rem;
    background: var(--white);
}

.screenshots-section .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

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

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

.carousel-btn:hover {
    background: var(--light-green);
    transform: scale(1.1);
}

.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-device {
    position: relative;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 200px;
}

.carousel-device img {
    width: 100%;
    border-radius: 18px;
    display: block;
    filter: blur(3px);
    transition: filter 0.3s ease;
}

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

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

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

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

/* Features Section */
.features-section {
    padding: 5rem 1.5rem;
    background: var(--cream);
}

.feature-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

@media screen and (min-width: 769px) {
    .feature-block {
        flex-direction: row;
        gap: 4rem;
    }

    .feature-block.reverse {
        flex-direction: row-reverse;
    }
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-content {
    flex: 1;
    text-align: left;
}

.feature-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-content p {
    color: var(--gray-text);
    line-height: 1.8;
}

.feature-content ul {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.feature-content ul li {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
    text-align: left;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 25px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-strong);
}

.card-content {
    padding: 2rem;
    text-align: left;
}

.card-content .title {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-section .title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section .subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-section .button {
    background: var(--white);
    color: var(--primary-green);
}

.cta-section .button:hover {
    background: var(--accent-gold);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 4rem 1.5rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (min-width: 769px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    padding: 8rem 1.5rem 3rem;
    text-align: center;
}

.page-header .title {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Content Pages */
.content-section {
    padding: 4rem 1.5rem;
    background: var(--white);
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
}

.content-container h2 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.content-container h3 {
    color: var(--dark-text);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.content-container p {
    margin-bottom: 1rem;
    text-align: left;
}

.content-container ul, .content-container ol {
    margin: 1rem 0 1rem 1.5rem;
    text-align: left;
}

.content-container li {
    margin-bottom: 0.5rem;
    color: var(--gray-text);
}

.content-container a {
    color: var(--primary-green);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.content-container a:hover {
    border-bottom-color: var(--primary-green);
}

/* Contact Form */
.contact-section {
    padding: 4rem 1.5rem;
    background: var(--cream);
}

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

.form-group input[type="file"] {
    padding: 0.75rem;
    background: var(--light-gray);
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .button {
    width: 100%;
    max-width: 300px;
}

.form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-message.success {
    background: #D4EDDA;
    color: #155724;
}

.form-message.error {
    background: #F8D7DA;
    color: #721C24;
}

/* Privacy Accept Button */
.privacy-accept-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    padding: 1.25rem;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.privacy-accept-btn {
    background: var(--white);
    color: var(--primary-green);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.privacy-accept-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

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

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

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    color: var(--dark-text);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* Utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
    .carousel-device {
        width: 180px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        padding: 6rem 1rem 3rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content .subtitle {
        text-align: center;
    }

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

    .device-mockup {
        margin-top: 2rem;
        max-width: 220px;
    }

    .screenshots-section {
        padding: 2.5rem 1rem;
    }

    .carousel-device {
        width: 160px;
        border-radius: 20px;
        padding: 6px;
    }

    .carousel-device img {
        border-radius: 15px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .carousel-dots {
        margin-top: 1rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .feature-block {
        text-align: center;
    }

    .feature-content {
        text-align: center;
    }

    .feature-content p,
    .feature-content ul li {
        text-align: left;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .button {
        padding: 1rem 1.5rem;
    }

    .button.is-large {
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .title.is-1 {
        font-size: 1.75rem;
    }

    .title.is-2 {
        font-size: 1.5rem;
    }

    .screenshots-section {
        padding: 2rem 0.75rem;
    }

    .carousel-container {
        gap: 0.75rem;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .carousel-device {
        width: 140px;
        border-radius: 18px;
        padding: 5px;
    }

    .carousel-device img {
        border-radius: 14px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .privacy-accept-container,
    .carousel-btn,
    .lightbox {
        display: none !important;
    }

    .hero-section,
    .content-section {
        padding-top: 2rem;
    }
}
