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

:root {
    /* App Theme Colors (matching Flutter app exactly) */
    --rich-black: #0D0D0D;
    --dark-grey: #1A1A1A;
    --medium-grey: #2D2D2D;
    --light-grey: #8A8A8A;
    --white: #FFFFFF;
    --vibrant-green: #00C896;
    --vibrant-green-rgb: 0, 200, 150;
    --gradient-primary: linear-gradient(135deg, #00C896, #00A878);
    --gradient-secondary: linear-gradient(135deg, #00A878, #007F5F);
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--rich-black);
    color: var(--white);
    line-height: 1.6;
    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(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 138, 138, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-logo i {
    color: var(--vibrant-green);
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--light-grey);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--vibrant-green);
}

.nav-link.download-btn {
    background: var(--gradient-primary);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--rich-black);
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 40px 0;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 70vh;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-description {
    font-size: 18px;
    color: var(--light-grey);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--rich-black);
    box-shadow: 0 10px 30px rgba(0, 200, 150, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 200, 150, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--vibrant-green);
}

.btn-secondary:hover {
    background: var(--vibrant-green);
    color: var(--rich-black);
    transform: translateY(-3px);
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--vibrant-green);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--light-grey);
    font-size: 14px;
    font-weight: 500;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

/* Phone Mockups */
.phone-mockup {
    position: relative;
    width: 250px;
    height: 500px;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.main-phone {
    position: relative;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-phones {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-phone {
    position: absolute;
    width: 180px;
    height: 360px;
    opacity: 0.7;
}

.phone-1 {
    top: -50px;
    left: -100px;
    animation: float 6s ease-in-out infinite 2s;
    transform: rotate(-15deg);
}

.phone-2 {
    bottom: -50px;
    right: -100px;
    animation: float 6s ease-in-out infinite 4s;
    transform: rotate(15deg);
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.1), transparent);
    animation: pulse 4s ease-in-out infinite;
}

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

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

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 200, 150, 0.05) 0%, transparent 70%);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 18px;
    color: var(--light-grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 120px 0;
    position: relative;
}

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

.feature-card {
    background: var(--dark-grey);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--medium-grey);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--vibrant-green);
    box-shadow: 0 20px 40px rgba(0, 200, 150, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--rich-black);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.feature-card p {
    color: var(--light-grey);
    line-height: 1.6;
}

/* Showcase Section */
.showcase {
    padding: 120px 0;
    background: var(--dark-grey);
}

.showcase-content {
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--medium-grey);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    color: var(--light-grey);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--gradient-primary);
    color: var(--rich-black);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: tabFadeIn 0.3s ease-out forwards;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-phone {
    position: relative;
}

.showcase-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    display: block;
}

.showcase-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.showcase-info p {
    font-size: 16px;
    color: var(--light-grey);
    margin-bottom: 30px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--light-grey);
}

.feature-list i {
    color: var(--vibrant-green);
    font-size: 14px;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: var(--rich-black);
}

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

.download-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.download-text p {
    font-size: 18px;
    color: var(--light-grey);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.download-btn {
    background: var(--dark-grey);
    border: 2px solid var(--medium-grey);
    border-radius: 15px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
}

.download-btn:hover {
    border-color: var(--vibrant-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 200, 150, 0.2);
}

.download-btn i {
    font-size: 32px;
    color: var(--vibrant-green);
}

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

.download-btn .small {
    font-size: 12px;
    color: var(--light-grey);
}

.download-btn .large {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.download-phone {
    animation: float 6s ease-in-out infinite;
}

/* Footer */
.footer {
    background: var(--dark-grey);
    padding: 60px 0 20px;
    border-top: 1px solid var(--medium-grey);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--vibrant-green);
    font-size: 28px;
}

.footer-section p {
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: var(--light-grey);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--vibrant-green);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--medium-grey);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-grey);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--vibrant-green);
    color: var(--rich-black);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--medium-grey);
    color: var(--light-grey);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--rich-black);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(var(--rotation, 0deg));
    }
    50% {
        transform: translateY(-20px) rotate(var(--rotation, 0deg));
    }
}

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

/* Responsive Design */
/* Tablet and Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .showcase-item {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .feature-card {
        padding: 35px 28px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        min-height: auto;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 20px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .floating-phone {
        display: none;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .showcase {
        padding: 80px 0;
    }
    
    .showcase-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .download {
        padding: 80px 0;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .download-image {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .showcase-tabs {
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
        flex: 1;
        min-width: auto;
    }
    
    .tab-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 90px 0 50px 0;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 35px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 18px;
    }
    
    .showcase {
        padding: 60px 0;
    }
    
    .showcase-tabs {
        gap: 3px;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .showcase-image {
        max-width: 250px;
    }
    
    .showcase-info h3 {
        font-size: 22px;
    }
    
    .showcase-info p {
        font-size: 14px;
    }
    
    .download {
        padding: 60px 0;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Utility Classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Policy Pages Styles */
.policy-page {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.policy-header {
    text-align: center;
    margin-bottom: 60px;
}

.policy-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--light-grey);
    font-size: 16px;
    font-style: italic;
}

.last-updated span {
    color: var(--vibrant-green);
    font-weight: 600;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    background: var(--dark-grey);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 20px;
    border: 1px solid var(--medium-grey);
    position: relative;
    overflow: hidden;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.policy-section h2 {
    color: var(--vibrant-green);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-grey);
}

.policy-section h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.policy-section p {
    color: var(--light-grey);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.policy-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.policy-section ul li {
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
}

.policy-section ul li::marker {
    color: var(--vibrant-green);
}

.policy-section a {
    color: var(--vibrant-green);
    text-decoration: underline;
    transition: var(--transition);
}

.policy-section a:hover {
    color: var(--white);
    text-decoration: none;
}

.contact-info {
    background: var(--medium-grey);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    border-left: 4px solid var(--vibrant-green);
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info strong {
    color: var(--white);
}

.health-warning {
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid orange;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.health-warning h3 {
    color: orange;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.health-warning ul li {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 12px;
}

.health-warning ul li strong {
    color: orange;
}

/* Mobile responsiveness for policy pages */
@media (max-width: 768px) {
    .policy-page {
        padding-top: 100px;
    }
    
    .policy-section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .policy-header {
        margin-bottom: 40px;
    }
    
    .policy-section h2 {
        font-size: 20px;
    }
    
    .policy-section h3 {
        font-size: 16px;
    }
    
    .policy-section p,
    .contact-info p {
        font-size: 14px;
    }
} 