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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--roalin-gray);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

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

.btn-primary:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--roalin-green);
    color: var(--roalin-dark);
}

.btn-secondary:hover {
    background-color: #36e085;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--roalin-blue);
    border-color: var(--roalin-blue);
}

.btn-outline:hover {
    background-color: var(--roalin-blue);
    color: white;
}

.btn-light {
    background-color: var(--roalin-light);
    color: var(--roalin-dark);
}

.btn-light:hover {
    background-color: #d4e9ff;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(5, 11, 24, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--roalin-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--roalin-blue);
    border-radius: 10px;
    margin-right: 10px;
    font-weight: 800;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--roalin-green);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #050B18 0%, #0A1A3A 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.15) 0%, transparent 50%);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

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

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--roalin-green);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Grid */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.75rem;
    color: white;
}

.feature-icon.blue {
    background-color: var(--roalin-blue);
}

.feature-icon.green {
    background-color: var(--roalin-green);
    color: var(--roalin-dark);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* How It Works */
.steps {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--roalin-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--roalin-light);
    z-index: 1;
}

.step:last-child::after {
    display: none;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--roalin-blue) 0%, #3a7bc8 100%);
    color: white;
    text-align: center;
}

.download-section h2 {
    color: white;
}

.download-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.store-button {
    display: flex;
    align-items: center;
    background-color: white;
    color: var(--roalin-dark);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    gap: 15px;
    box-shadow: var(--shadow);
}

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

.store-icon {
    font-size: 2rem;
}

.store-text small {
    display: block;
    font-size: 0.8rem;
    color: var(--roalin-gray);
}

.store-text span {
    font-weight: 600;
    font-size: 1.1rem;
}

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

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

.footer-col h4 {
    margin-bottom: 25px;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
}

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

.social-link {
    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-link:hover {
    background-color: var(--roalin-blue);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--roalin-green);
    padding-left: 5px;
}

.newsletter-form {
    margin-top: 20px;
}

.input-group {
    display: flex;
    margin-bottom: 10px;
}

.input-group input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: 'Inter', sans-serif;
}

.input-group button {
    border-radius: 0 50px 50px 0;
    padding: 12px 25px;
}

.form-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid var(--roalin-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-image {
        position: relative;
        width: 100%;
        max-width: 600px;
        margin: 60px auto 0;
        transform: none;
        top: 0;
    }
    
    .hero {
        padding: 140px 0 80px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--roalin-dark);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        border-bottom: 1px solid var(--roalin-border);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active i {
        content: '\f00d';
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .steps {
        flex-direction: column;
        gap: 60px;
    }
    
    .step::after {
        width: 2px;
        height: 40px;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-button {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.625rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}