/* ============================================================================ */
/* RESET & VARIABLES */
/* ============================================================================ */

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

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #1ac8ed;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* ============================================================================ */
/* NAVIGATION BAR */
/* ============================================================================ */

.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar-brand .logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: -1px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* ============================================================================ */
/* HERO SECTION */
/* ============================================================================ */

.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ============================================================================ */
/* BUTTONS */
/* ============================================================================ */

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
}

/* ============================================================================ */
/* PHONE MOCKUP */
/* ============================================================================ */

.phone-mockup {
    background: var(--white);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: #f0f0f0;
    border-radius: 30px;
    padding: 40px 20px 20px;
    height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-end;
}

.message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 0.9rem;
}

.message.incoming {
    background-color: #e0e0e0;
    align-self: flex-start;
    color: var(--text-color);
}

.message.outgoing {
    background-color: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
}

/* ============================================================================ */
/* FEATURES SECTION */
/* ============================================================================ */

.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ============================================================================ */
/* DOWNLOAD SECTION */
/* ============================================================================ */

.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8f5a 100%);
    color: var(--white);
    text-align: center;
}

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

.download p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--text-color);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.download-btn .app-icon {
    font-size: 2rem;
}

.download-btn span:last-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-btn small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.download-btn strong {
    font-size: 1.1rem;
}

/* ============================================================================ */
/* SECURITY SECTION */
/* ============================================================================ */

.security {
    padding: 80px 0;
}

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

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.security-features {
    list-style: none;
}

.security-features li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #666;
    border-bottom: 1px solid #eee;
}

.security-features li:last-child {
    border-bottom: none;
}

.security-icon {
    font-size: 8rem;
    text-align: center;
    opacity: 0.8;
}

/* ============================================================================ */
/* STATS SECTION */
/* ============================================================================ */

.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.stat-box h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ============================================================================ */
/* TESTIMONIALS SECTION */
/* ============================================================================ */

.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.testimonial-card .stars {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================================================================ */
/* CONTACT SECTION */
/* ============================================================================ */

.contact {
    padding: 80px 0;
}

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

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

.contact-info-center h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.contact-info-center p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

/* ============================================================================ */
/* FOOTER */
/* ============================================================================ */

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-content {
    display: contents;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

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

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

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

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

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

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

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .security-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .features h2,
    .security h2,
    .testimonials h2,
    .contact h2,
    .download h2 {
        font-size: 2rem;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .navbar .container {
        padding: 0.8rem 10px;
    }

    .navbar-brand .logo {
        font-size: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }

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