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

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --text-light: #a0aec0;
    --background: #ffffff;
    --background-alt: #f7fafc;
    --border-color: #e2e8f0;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
}

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

/* 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 var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.download-btn {
    background: var(--gradient);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f7fafc;
    border-radius: 20px;
    overflow: hidden;
}

.app-demo {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f7fafc;
}

.demo-header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    font-size: 12px;
    color: #2d3748;
    font-weight: 500;
}

.status-icons {
    display: flex;
    gap: 5px;
    font-size: 11px;
}

.app-header {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.app-header h3 {
    font-size: 18px;
    color: #2d3748;
    font-weight: 600;
    margin: 0;
}

.scan-status {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.demo-content {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f7fafc;
}

/* WiFi Cards */
.wifi-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.wifi-card.pinned {
    border: 2px solid #667eea;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.network-info {
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

.network-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.network-bssid {
    font-size: 11px;
    color: #718096;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.signal-indicator {
    color: #27ae60;
    font-size: 16px;
    margin-left: 10px;
}

.signal-indicator.medium {
    color: #f39c12;
}

.card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.chip {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
}

.chip.signal {
    background: #e8d4f8;
    color: #764ba2;
}

.chip.channel {
    background: #fde9d4;
    color: #e67e22;
}

.chip.security {
    background: #d4f3ed;
    color: #16a085;
}

.chip.time {
    background: #dde9f7;
    color: #3498db;
}

.chip.gps {
    background: #ffe4e4;
    color: #e74c3c;
}

.chip.icon {
    background: #e4f0ff;
    color: #2c3e50;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.action-btn {
    font-size: 10px;
    padding: 4px 8px;
    background: transparent;
    color: #3498db;
    border: 1px solid #3498db;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #3498db;
    color: white;
}

.action-icons {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.action-icons i {
    font-size: 12px;
    color: #bdc3c7;
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-icons i:hover {
    color: #667eea;
}

.action-icons i.active {
    color: #667eea;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

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

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Privacy Section */
.privacy {
    padding: 100px 0;
    background: var(--background-alt);
}

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

.privacy-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.privacy-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.privacy-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.privacy-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.privacy-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.privacy-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.security-shield {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.security-shield i {
    font-size: 8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.shield-layers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.layer {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: var(--background);
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-left: 4px;
}

.video-info {
    text-align: center;
    color: white;
}

.video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.demo-step h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.demo-step p {
    color: var(--text-secondary);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: var(--background-alt);
}

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

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--text-primary);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 250px;
}

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

.google-play {
    background: #1a73e8;
}

.direct-download {
    background: var(--gradient);
}

.download-icon i {
    font-size: 2rem;
}

.download-text-content {
    display: flex;
    flex-direction: column;
}

.download-small {
    font-size: 0.875rem;
    opacity: 0.8;
}

.download-large {
    font-size: 1.125rem;
    font-weight: 600;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.info-item i {
    color: var(--primary-color);
}

/* Phone Preview for Download */
.phone-preview {
    display: flex;
    justify-content: center;
}

.phone-frame-large {
    width: 360px;
    height: 720px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

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

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f7fafc;
}

.interface-header {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.header-top h3 {
    font-size: 20px;
    color: #2d3748;
    font-weight: 600;
    margin: 0;
}

.scan-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    animation: pulse 2s infinite;
}

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

.scan-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #718096;
}

.interface-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.network-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.network-card.has-data {
    border: 2px solid #667eea;
}

.network-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.network-main-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 4px 0;
}

.network-main-info p {
    font-size: 12px;
    color: #718096;
    margin: 0;
}

.signal-strong {
    color: #27ae60;
    font-size: 20px;
}

.signal-medium {
    color: #f39c12;
    font-size: 20px;
}

.network-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.tag.signal {
    background: #e8d4f8;
    color: #764ba2;
}

.tag.channel {
    background: #fde9d4;
    color: #e67e22;
}

.tag.security {
    background: #d4f3ed;
    color: #16a085;
}

.tag.location {
    background: #ffe4e4;
    color: #e74c3c;
}

.tag.icon {
    background: #e4f0ff;
    color: #2c3e50;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
        padding: 12px;
    }
    
    .phone-frame-large {
        width: 300px;
        height: 600px;
        padding: 15px;
    }
    
    .header-top h3 {
        font-size: 18px;
    }
    
    .scan-button {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .network-main-info h4 {
        font-size: 14px;
    }
    
    .network-main-info p {
        font-size: 11px;
    }
    
    .tag {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .network-name {
        font-size: 13px;
    }
    
    .network-bssid {
        font-size: 10px;
    }
    
    .chip {
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .action-btn {
        font-size: 9px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .download-buttons {
        align-items: center;
    }
    
    .download-btn {
        max-width: 200px;
    }
}


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