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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hamburger Menu Button */
.hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(100, 150, 255, 0.3);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Slide-out Menu from Right */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 320px;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 6rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    list-style: none;
    overflow-y: auto;
}

.nav-links.active {
    right: 0;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.75rem 0;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64a0ff, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #64a0ff;
    padding-left: 1rem;
}

.nav-links a:hover::before {
    width: 10px;
}

/* Overlay when menu is open */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hamburger {
        top: 1.5rem;
        right: 1.5rem;
    }

    .nav-links {
        width: 280px;
        padding-top: 5rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(100, 150, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.logo-container {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(100, 150, 255, 0.3));
    transform: translateY(-200px);
    opacity: 0;
    animation: logo-drop-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
               float 3s ease-in-out 0.9s infinite;
}

@keyframes logo-drop-in {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }
    60% {
        transform: translateY(8px);
        opacity: 1;
    }
    80% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.company-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    font-weight: 300;
    opacity: 0;
    transform: translateX(-100vw);
    animation: tagline-fly-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes tagline-fly-in {
    0% {
        opacity: 0;
        transform: translateX(-100vw);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem));
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease;
    /* Ensure visible on any background: pill-shaped backdrop */
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 2rem;
    -webkit-tap-highlight-color: transparent;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    fill: #ffffff;
    opacity: 0.95;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Apps Section */
.apps-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #808080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.app-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease, opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-100px);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #64a0ff, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 150, 255, 0.3);
    box-shadow: 0 20px 40px rgba(100, 150, 255, 0.1);
}

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

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #64a0ff 0%, #8b5cf6 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(100, 150, 255, 0.2);
    overflow: hidden;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.app-description {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.app-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.app-features li {
    color: #d0d0d0;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #64a0ff;
    font-weight: bold;
}

.app-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(100, 150, 255, 0.1);
    border: 1px solid rgba(100, 150, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #64a0ff;
    margin-top: 1rem;
}

.app-download-btn {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.65rem 1.25rem;
    background: rgba(100, 150, 255, 0.2);
    border: 1px solid rgba(100, 150, 255, 0.5);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64a0ff;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.app-download-btn:hover {
    background: rgba(100, 150, 255, 0.35);
    border-color: rgba(100, 150, 255, 0.7);
    color: #fff;
}

.chrome-install-details {
    margin-top: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.chrome-install-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    list-style: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #d0d0d0;
    user-select: none;
    transition: background 0.2s ease;
}

.chrome-install-summary::-webkit-details-marker,
.chrome-install-summary::marker {
    display: none;
}

.chrome-install-summary::after {
    content: '▼';
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.25s ease;
}

.chrome-install-details[open] .chrome-install-summary::after {
    transform: rotate(180deg);
}

.chrome-install-summary:hover {
    background: rgba(0, 0, 0, 0.35);
}

.chrome-install {
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chrome-install-steps {
    margin: 0;
    padding-left: 1.25rem;
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.chrome-install-steps li {
    margin-bottom: 0.5rem;
}

.chrome-install-steps code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.faq-app-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.faq-app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #64a0ff, #8b5cf6, #ec4899);
}

.faq-app-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: left;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #64a0ff;
}

.faq-question[aria-expanded="true"] {
    color: #64a0ff;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: #64a0ff;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 2000px;
    padding-bottom: 1.25rem;
}

.faq-answer-content {
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 1rem;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.faq-answer-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.faq-answer-content h4:first-child {
    margin-top: 0;
}

.faq-answer-content p {
    margin-bottom: 1rem;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.faq-answer-content ul li::marker {
    color: #64a0ff;
}

.faq-answer-content ol li::marker {
    color: #64a0ff;
    font-weight: 600;
}

.faq-answer-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Privacy Policy Section */
.privacy-section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.privacy-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #64a0ff, #8b5cf6, #ec4899);
}

.privacy-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #64a0ff 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-intro {
    color: #b0b0b0;
    font-size: 0.95rem;
    font-style: italic;
}

.privacy-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.privacy-section-item {
    color: #d0d0d0;
    line-height: 1.8;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.privacy-section-item h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-section-item p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.privacy-section-item p:last-child {
    margin-bottom: 0;
}

.privacy-section-item ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.privacy-section-item li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    position: relative;
}

.privacy-section-item li::marker {
    color: #64a0ff;
}

.privacy-section-item strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-link {
    color: #64a0ff;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.privacy-link:hover {
    color: #8b5cf6;
    border-bottom-color: #8b5cf6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #64a0ff, #8b5cf6, #ec4899);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(100, 150, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(100, 150, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #808080;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.spam-warning {
    margin-top: 1rem;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #ffa500;
    text-align: center;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 4px;
}

/* Honeypot field - hidden from users but visible to bots */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* reCAPTCHA - hidden by default */
.g-recaptcha {
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #64a0ff 0%, #8b5cf6 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(100, 150, 255, 0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(100, 150, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    display: block;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #808080;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .logo,
    .logo-container .logo {
        max-width: 290px !important;
    }

    .company-name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .app-card {
        padding: 2rem;
        /* Visible by default on mobile so apps section shows even if scroll observer doesn't fire (e.g. iOS Safari) */
        opacity: 1;
        transform: translateY(0);
    }

    .contact-form {
        padding: 2rem;
    }

    .faq-app-section {
        padding: 2rem;
    }

    .faq-app-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .privacy-card {
        padding: 2rem;
    }

    .privacy-header h3 {
        font-size: 1.5rem;
    }

    .privacy-section-item h4 {
        font-size: 1.1rem;
    }

    .privacy-body {
        gap: 2rem;
    }
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fall-down animation for app cards (desktop); on mobile cards are visible via media query */
.app-card.fall-down {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure apps section title is visible on mobile if fade-in observer is delayed */
@media (max-width: 768px) {
    .apps-section .section-title.fade-in {
        opacity: 1;
        transform: translateY(0);
    }
}
