/* Base Styles */
:root {
    --primary: #0099cc;
    --primary-dark: #007aa3;
    --primary-light: #33b4de;
    --primary-transparent: rgba(0, 153, 204, 0.1);
    --secondary: #ff6b6b;
    --dark: #333333;
    --light: #ffffff;
    --gray: #f8f9fa;
    --gray-dark: #6c757d;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    margin-right: 10px;
    border-radius: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary);
}

.logo h1 span {
    font-weight: 400;
    color: var(--dark);
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary, .btn-ghost {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 153, 204, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

.btn-ghost {
    background-color: transparent;
    color: var(--dark);
    border: 1px solid var(--gray-dark);
}

.btn-ghost:hover {
    background-color: var(--gray);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 150px 20px 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn-primary {
    padding: 15px 30px;
}

.hero-buttons .btn-primary i {
    margin-left: 10px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    transform: rotate(-5deg);
    border-radius: 40px;
    box-shadow: var(--box-shadow);
    z-index: 2;
    max-height: 600px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-bubble {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--box-shadow);
}

.b1 {
    background-color: var(--primary);
    top: 20%;
    left: 10%;
    animation: float-bubble 8s ease-in-out infinite;
}

.b2 {
    background-color: var(--secondary);
    top: 50%;
    right: 5%;
    animation: float-bubble 7s ease-in-out 1s infinite;
}

.b3 {
    background-color: var(--primary-dark);
    bottom: 15%;
    left: 15%;
    animation: float-bubble 9s ease-in-out 2s infinite;
}

/* Features Section */
.features {
    background-color: var(--gray);
    text-align: center;
    padding: 120px 20px;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-transparent);
    z-index: -1;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    text-align: left;
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 5px;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 20px;
}

/* Privacy Section */
.privacy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.privacy-content {
    flex: 1;
}

.privacy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.privacy-features {
    margin-top: 30px;
}

.privacy-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.privacy-features i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 20px;
}

.privacy-image {
    flex: 1;
    text-align: center;
}

.privacy-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
}

/* Download Section */
.download {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.download-content {
    max-width: 700px;
    margin: 0 auto;
}

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

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-store-btn, .play-store-btn {
    display: flex;
    align-items: center;
    background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.app-store-btn:hover, .play-store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.app-store-btn i, .play-store-btn i {
    font-size: 30px;
    margin-right: 10px;
}

.app-store-btn span, .play-store-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-store-btn small, .play-store-btn small {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 20px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 10px 0;
}

.footer-logo h2 span {
    color: var(--light);
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 150px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-social {
    min-width: 200px;
}

.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

@keyframes float-bubble {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-slide-in {
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 1s forwards;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .privacy {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links, .cta-buttons {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: white;
        height: 100vh;
        width: 70%;
        padding: 100px 50px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active, .cta-buttons.active {
        right: 0;
    }
    
    .nav-links {
        padding-bottom: 20px;
    }
    
    .cta-buttons {
        padding-top: 20px;
        border-top: 1px solid var(--gray);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    section {
        padding: 70px 0;
    }
    
    .hero {
        padding: 120px 20px 70px;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .steps-container {
        gap: 20px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .step-icon {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .privacy-content, .privacy-image {
        text-align: center;
    }
    
    .privacy-features li {
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-logo, .footer-social {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .features h2, .how-it-works h2, .privacy-content h2, .download-content h2 {
        font-size: 2rem;
    }
}
