/* Legal Section Styles */
.legal-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: auto;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 13px;
}

.legal-text {
    line-height: 1.7;
}

.legal-text h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.legal-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.legal-text p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.legal-text ul {
    margin: 12px 0 12px 25px;
}

.legal-text li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.legal-text strong {
    color: var(--dark-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 25px;
    }
    
    .legal-content h1 {
        font-size: 28px;
    }
    
    .legal-text h2 {
        font-size: 20px;
    }
    
    .legal-text h3 {
        font-size: 18px;
    }
}

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

:root {
    --primary-color: #007AFF;
    --secondary-color: #34C759;
    --accent-color: #FF9500;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --gray-color: #f5f5f7;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #007AFF 0%, #00C6FF 100%);
    --gradient-secondary: linear-gradient(135deg, #34C759 0%, #00D4AA 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 12px 0;
}

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

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

.logo-3d {
    width: 45px;
    height: 45px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 10s infinite linear;
}

.logo-3d.small {
    width: 38px;
    height: 38px;
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    100% { transform: rotateY(360deg) rotateX(360deg); }
}

.logo-face {
    position: absolute;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-3d.small .logo-face {
    width: 38px;
    height: 38px;
    font-size: 20px;
}

.logo-face.front { transform: translateZ(22.5px); }
.logo-face.back { transform: rotateY(180deg) translateZ(22.5px); }
.logo-face.right { transform: rotateY(90deg) translateZ(22.5px); }
.logo-face.left { transform: rotateY(-90deg) translateZ(22.5px); }
.logo-face.top { transform: rotateX(90deg) translateZ(22.5px); }
.logo-face.bottom { transform: rotateX(-90deg) translateZ(22.5px); }

.logo-3d.small .logo-face.front { transform: translateZ(19px); }
.logo-3d.small .logo-face.back { transform: rotateY(180deg) translateZ(19px); }
.logo-3d.small .logo-face.right { transform: rotateY(90deg) translateZ(19px); }
.logo-3d.small .logo-face.left { transform: rotateY(-90deg) translateZ(19px); }
.logo-3d.small .logo-face.top { transform: rotateX(90deg) translateZ(19px); }
.logo-3d.small .logo-face.bottom { transform: rotateX(-90deg) translateZ(19px); }

.brand-name {
    font-size: 22px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--gray-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
}

.hero-stats {
    display: flex;
    gap: 35px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark-color);
    border-radius: 40px;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
}

.chat-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 15px;
    background: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
    width: 40px;
    height: 40px;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.chat-info {
    flex: 1;
}

.chat-name {
    font-weight: 600;
    font-size: 16px;
}

.chat-status {
    font-size: 12px;
    color: var(--secondary-color);
}

.chat-actions {
    display: flex;
    gap: 15px;
    color: var(--primary-color);
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
}

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

.message.sent {
    text-align: right;
}

.message-bubble {
    display: inline-block;
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
}

.message.received .message-bubble {
    background: var(--gray-color);
    border-bottom-left-radius: 4px;
}

.message.sent .message-bubble {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.7;
}

.message.sent .message-time {
    color: white;
}

.chat-input {
    padding: 15px;
    background: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex: 1;
    border: none;
    background: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.chat-input i {
    color: var(--primary-color);
    font-size: 20px;
}

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

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

/* Features Section */
.features {
    background: white;
}

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

.feature-card {
    padding: 25px;
    background: var(--gray-color);
    border-radius: 14px;
    transition: var(--transition);
}

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

.feature-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

/* Security Section */
.security {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.security .section-title,
.security .section-subtitle {
    color: white;
}

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

.security-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.security-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.security-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.security-text h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.security-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 14px;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-animation {
    position: relative;
    width: 200px;
    height: 200px;
}

.shield {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.encryption-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(52, 199, 89, 0.3);
    border-radius: 50%;
    animation: rotate 4s infinite linear;
}

.encryption-ring:nth-child(2) {
    animation-delay: 1s;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
}

.encryption-ring:nth-child(3) {
    animation-delay: 2s;
    width: 140%;
    height: 140%;
    left: -20%;
    top: -20%;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Download Section */
.download {
    background: white;
}

.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.platform-card {
    padding: 35px 25px;
    background: var(--gray-color);
    border-radius: 14px;
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 18px;
}

.platform-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.platform-card p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 14px;
}

/* About Section */
.about {
    background: var(--gray-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-light);
    font-size: 15px;
}

.company-info {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.team-illustration {
    width: 280px;
    height: 280px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    color: white;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--gray-color);
    padding: 35px;
    border-radius: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.contact-details p {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 25px;
}

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

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

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    font-size: 14px;
}

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

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 600;
}

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

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

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .security-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-platforms {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
