/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #4dc88a;
    --primary-dark: #38b274;
    --primary-light: #e8f8f0;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --bg-secondary: #f7fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HEADER/NAVBAR ===== */
/* Header styles are defined in the header partial */

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f0faf5 0%, #f7fafc 40%, #edf2f7 100%);
    padding-top: 80px;
    padding-bottom: 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--primary-dark));
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
    will-change: transform;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 8px;
}

.phone-mockup {
    position: relative;
    margin: 0 auto;
    max-width: 350px;
    width: 100%;
    background: transparent;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    transition: transform var(--transition-base);
    background: transparent;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

/* ===== FEATURES SECTION ===== */
.features {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-dark);
    font-size: 1.75rem;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg,
            var(--primary-color),
            var(--primary-dark));
    color: white;
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ===== ASSISTANTS SECTION ===== */
.assistants {
    background: var(--bg-secondary);
}

.assistants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.assistant-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.assistant-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.assistant-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
}

.assistant-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.assistant-card:hover .assistant-image img {
    transform: scale(1.04);
}

.assistant-info {
    padding: 24px;
}

.assistant-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.assistant-description {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 16px;
    font-size: 0.93rem;
}

.assistant-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.feature-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.feature-tag:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== DOWNLOAD SECTION ===== */
.download {
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-gradient-white {
    background: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ffeb3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.download-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-features {
    margin-bottom: 40px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.download-feature i {
    color: #ffd700;
    font-size: 1.2rem;
}

.download-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat {
    text-align: center;
}

.stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ===== APP GALLERY ===== */
.app-gallery {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    perspective: 1000px;
}

.gallery-slide {
    position: absolute;
    width: 280px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0) scale(0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gallery-slide.active {
    transform: translate(-50%, -50%) translateZ(50px) scale(1);
    opacity: 1;
    z-index: 3;
    cursor: default;
}

.gallery-slide.prev {
    transform: translate(-100%, -50%) translateZ(0) scale(0.78);
    opacity: 0.6;
    z-index: 2;
}

.gallery-slide.next {
    transform: translate(0%, -50%) translateZ(0) scale(0.78);
    opacity: 0.6;
    z-index: 2;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    background: transparent;
    transition: all var(--transition-base);
}

.gallery-slide:hover .gallery-image {
    transform: scale(1.02);
}

.gallery-slide.active:hover .gallery-image {
    transform: scale(1);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: white;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods {
    margin: 48px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-align: center;
    width: 100%;
    border: 1px solid transparent;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.contact-method:hover .contact-icon {
    background: var(--primary-color);
    color: white;
}

.contact-details h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.contact-details p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-details span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: block;
    line-height: 1.5;
}

/* ===== FOOTER SECTION ===== */
.footer {
    background: linear-gradient(160deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding-top: 80px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 0.02em;
}

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

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

.footer-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: color var(--transition-base);
    font-size: 0.93rem;
}

.footer-list a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #718096;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 28px;
}

.footer-bottom-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color var(--transition-base);
}

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

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* ===== DOWNLOAD BUTTONS ===== */
.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    color: white;
    text-decoration: none;
    transition: all var(--transition-base);
    min-width: 190px;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    font-size: 1.8rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
    letter-spacing: 0.02em;
}

.btn-title {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Hero Specific Download Buttons */
.hero .download-btn {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero .download-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.6s ease;
}

.hero .download-btn:hover::before {
    left: 100%;
}

.hero .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.hero .download-btn.app-store {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero .download-btn.app-store:hover {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.hero .download-btn.google-play {
    background: linear-gradient(135deg, #2d8c4e 0%, #1a6b37 100%);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero .download-btn.google-play:hover {
    background: linear-gradient(135deg, #248c47 0%, #15572d 100%);
    box-shadow: 0 8px 28px rgba(45, 140, 78, 0.4);
}

.hero .btn-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet landscape */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .assistants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet portrait / large mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 28px;
    }

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

    /* Features Responsive */
    .section-title {
        font-size: 2rem;
    }

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

    .feature-card {
        padding: 28px 24px;
    }

    /* Assistants Responsive */
    .assistants-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    /* Download Responsive */
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .download-stats {
        justify-content: center;
    }

    .download-features {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-container {
        height: 500px;
    }

    .gallery-slide {
        width: 260px;
    }

    .gallery-slide.prev {
        transform: translate(-100%, -50%) translateZ(0) scale(0.75);
    }

    .gallery-slide.next {
        transform: translate(0%, -50%) translateZ(0) scale(0.75);
    }

    /* Contact Responsive */
    .contact-methods {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 48px auto 0;
    }

    /* Download Buttons Responsive */
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .download-btn {
        min-width: 240px;
        max-width: 280px;
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .phone-mockup {
        max-width: 180px;
    }

    .hero-stats {
        gap: 20px;
    }

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

    /* Gallery Mobile */
    .gallery-container {
        height: 450px;
    }

    .gallery-slide {
        width: 220px;
    }

    .gallery-slide.active {
        transform: translate(-50%, -50%) translateZ(50px) scale(0.9);
    }

    .gallery-slide.prev,
    .gallery-slide.next {
        display: none;
    }

    .download-btn {
        min-width: 220px;
    }
}