/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-download {
    background: #000;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 160px;
    gap: 12px;
}

.btn-download:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-download img {
    width: 24px;
    height: 24px;
}

.btn-download div {
    text-align: left;
}

.btn-text-small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-text-large {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-brand:hover {
    color: #667eea;
}

.logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8f2ff 100%);
}

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

.hero-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Use official store badges without button chrome */
.download-buttons .btn-download {
    background: transparent;
    padding: 0;
    border-radius: 0;
    min-width: unset;
}

.download-buttons .btn-download:hover {
    background: transparent;
    transform: translateY(-1px);
}

.download-buttons .btn-download img {
    display: block;
    height: 40px;
    width: auto;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #333;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.app-interface {
    text-align: center;
    color: white;
}

.security-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.avatar {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.call-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* Security Section */
.security {
    padding: 80px 0;
    background: #f8faff;
}

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

.security-features {
    list-style: none;
    margin: 2rem 0;
}

.security-features li {
    padding: 0.5rem 0;
    color: #333;
    font-weight: 500;
}

.security-note {
    font-style: italic;
    color: #667eea;
    font-weight: 500;
}

/* Encryption Demo */
.encryption-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.device {
    text-align: center;
}

.device-screen {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.encryption-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.encryption-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    position: relative;
}

.encryption-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: white;
}

.download-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
}

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

.download-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-4px);
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
}

/* Support Section */
.support {
    padding: 80px 0;
    background: #f8faff;
}

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

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.support-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.support-card ol, .support-card ul {
    margin-left: 1rem;
}

.support-card li {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.response-time {
    font-size: 0.9rem;
    color: #999;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
}

.footer-brand-name {
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
    }
    
    .security-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .encryption-demo {
        flex-direction: column;
        gap: 1rem;
    }
    
    .encryption-flow {
        flex-direction: column;
    }
    
    .encryption-line {
        width: 2px;
        height: 40px;
    }
    
    .download-card {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        gap: 0.8rem !important;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .footer-brand-name {
        font-size: 1.1rem !important;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.15rem; }
}

/* Ultra small screens for footer fixes */
@media (max-width: 320px) {
    .footer .container {
        padding: 0 10px;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-links {
        gap: 0.5rem !important;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 0.2rem;
    }
    
    .footer-brand {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .footer-brand-name {
        font-size: 1rem !important;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 0 80px;
    background: white;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.legal-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-body h2 {
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.legal-body h3 {
    color: #444;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-body ul, .legal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-body li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-body strong {
    color: #333;
}

.privacy-summary, .terms-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.summary-card {
    background: #f8faff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.summary-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.summary-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-info {
    background: #f8faff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.privacy-footer, .terms-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.privacy-footer h3, .terms-footer h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
}

.privacy-footer p, .terms-footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.terms-thanks {
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .privacy-summary, .terms-summary {
        grid-template-columns: 1fr;
    }
    
    .legal-body {
        padding: 0 15px;
    }
}

/* Web Call Section */
.web-call-section {
    margin-bottom: 2rem;
    text-align: center;
}

.web-call-header {
    margin-bottom: 1.5rem;
}

.web-call-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.web-call-header p {
    color: #718096;
    font-size: 1rem;
}

.web-call-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.web-call-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.web-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.web-call-btn .btn-icon {
    font-size: 2rem;
}

.web-call-btn .btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.web-call-btn .btn-text-large {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}

.web-call-btn .btn-text-small {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0 1.5rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.section-divider span {
    padding: 0 1rem;
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 500;
}

.mobile-apps-section {
    opacity: 0.8;
}

/* Responsive adjustments for web call buttons */
@media (max-width: 768px) {
    .web-call-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .web-call-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .web-call-btn .btn-content {
        text-align: center;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    z-index: 1001;
    display: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cookie-consent-banner.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent-banner p {
    margin: 0;
    color: white;
}

.cookie-consent-banner a {
    color: #a3bffa;
    text-decoration: underline;
}

.cookie-consent-banner .btn-primary {
    background: white;
    color: #667eea;
    transition: all 0.3s ease;
}

.cookie-consent-banner .btn-primary:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cookie-consent-banner .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
