:root {
    --primary: #3a86ff;
    --primary-light: #8ecae6;
    --secondary: #023e8a;
    --accent: #ff006e;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

section h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    padding: 1rem 0;
    position: static;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-circle {
    fill: none;
    stroke: white;
    stroke-width: 5;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
    animation: circle-draw 2s ease forwards;
}

.logo-lines {
    fill: none;
    stroke: white;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: line-draw 1s ease forwards 0.5s;
}

@keyframes circle-draw {
    from { stroke-dashoffset: 283; }
    to { stroke-dashoffset: 0; }
}

@keyframes line-draw {
    from { stroke-dashoffset: 60; }
    to { stroke-dashoffset: 0; }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--text-light);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    animation: fade-up 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fade-up 1s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: fade-up 1s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.google-play {
    display: block;
    transition: var(--transition);
}

.google-play:hover {
    transform: translateY(-5px);
}

.hero-visual {
    position: relative;
    height: 450px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Features Section */
#features {
    background-color: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 1rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 64px;
    height: 64px;
    fill: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.feature-card p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Screenshots Section */
#screenshots {
    background-color: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

#screenshots::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(var(--primary-light), transparent);
    opacity: 0.2;
    top: -150px;
    left: -150px;
}

#screenshots::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(var(--primary-light), transparent);
    opacity: 0.2;
    bottom: -150px;
    right: -150px;
}

.screenshot-carousel {
    display: flex;
    gap: 3rem;
    padding: 2rem 1rem;
    overflow-x: auto;
    justify-content: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshot-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 560px;
    background: #222;
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 24px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.screen {
    background: var(--bg-light);
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.screenshot p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Specific screen designs */
.screen1 {
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.screen1::before {
    content: "Your IP Address";
    display: block;
    font-size: 24px;
    color: var(--primary);
    text-align: center;
    font-weight: 700;
    margin: 30px 0 15px;
}

.screen1::after {
    content: "192.168.1.1";
    display: block;
    font-size: 36px;
    color: var(--text-dark);
    text-align: center;
    margin: 20px 0;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screen2 {
    background: var(--bg-light);
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 20px;
}

.screen2::before {
    content: "Location Details";
    display: block;
    font-size: 24px;
    color: var(--primary);
    text-align: center;
    font-weight: 700;
    margin: 30px 0 15px;
}

.location-details {
    display: grid;
    gap: 10px;
    padding: 15px;
}

.screen3 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    padding: 20px;
    color: var(--text-light);
}

.screen3::before {
    content: "Connection Info";
    display: block;
    font-size: 24px;
    color: white;
    text-align: center;
    font-weight: 700;
    margin: 30px 0 15px;
}

/* Benefits Section */
#benefits {
    background-color: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 1rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.benefit-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.benefit-card h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.benefit-card p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Privacy Section */
#privacy {
    background-color: var(--bg-gray);
    position: relative;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.policy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section p {
    margin-bottom: 1rem;
    color: #495057;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.contact-info {
    background-color: var(--bg-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.last-updated {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--secondary), #001233);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon.small {
    width: 30px;
    height: 30px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    section h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 4rem 1.5rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 350px;
        order: -1;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .feature-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-carousel {
        padding: 1rem 0;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
}

main {
    padding-top: 80px;
}