/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #4A90E2;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4A90E2;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #4A90E2;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fcff 0%, #e3f2fd 100%);
    padding: 120px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.appstore-badge {
    margin-bottom: 30px;
}

.appstore-badge img {
    width: 180px;
    height: auto;
    border-radius: 8px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #5a6c7d;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #357ABD 0%, #2E6DA4 100%);
}

/* Section Styles */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #4A90E2;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fcff 0%, #ffffff 50%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(1deg); }
    66% { transform: translate(20px, -10px) rotate(-1deg); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(74, 144, 226, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(74, 144, 226, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 80px rgba(74, 144, 226, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(74, 144, 226, 0.2);
}

.feature-card:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out forwards;
}

.feature-card:nth-child(even) {
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.feature-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 18px;
    box-shadow: 
        0 8px 25px rgba(74, 144, 226, 0.12),
        0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, #f8fcff, #e3f2fd);
}

.feature-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(74, 144, 226, 0.1) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(74, 144, 226, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-image::after {
    opacity: 1;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1.02) contrast(1.05);
}

.feature-card:hover .feature-image img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.05) contrast(1.1);
}

.feature-icon {
    font-size: 70px;
    margin-bottom: 30px;
    display: block;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 8px 16px rgba(74, 144, 226, 0.3));
}

/* Additional Features Section */
.additional-features {
    margin-top: 80px;
    text-align: center;
}

.additional-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.additional-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #4A90E2;
    margin: 15px auto 0;
    border-radius: 2px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(74, 144, 226, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

.feature-bullet {
    font-size: 20px;
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.6;
}

.feature-title {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #4A90E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    line-height: 1.3;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    transform: translateY(-2px);
    letter-spacing: 0.5px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2, #357ABD);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.feature-card:hover .feature-title::after {
    width: 60px;
}

.feature-description {
    font-size: 17px;
    color: #5a6c7d;
    line-height: 1.8;
    font-weight: 400;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-description {
    color: #4a5568;
    transform: translateY(-1px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fcff 0%, #e3f2fd 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 18px;
    color: #5a6c7d;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Privacy Section */
.privacy {
    padding: 100px 0;
    background: #ffffff;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-header p {
    font-size: 18px;
    color: #5a6c7d;
    line-height: 1.8;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #4A90E2;
    margin-bottom: 20px;
}

.policy-header p:last-child {
    margin-bottom: 0;
}

.policy-section {
    background: white;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.policy-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3f2fd;
}

.policy-section p {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.policy-section a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.policy-section a:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* Terms & Conditions Section */
.terms {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fcff 0%, #e3f2fd 100%);
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-intro {
    text-align: center;
    margin-bottom: 50px;
}

.terms-intro p {
    font-size: 18px;
    color: #5a6c7d;
    line-height: 1.8;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #4A90E2;
}

.terms-section {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terms-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.terms-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #4A90E2;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.terms-section p {
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}

.terms-footer {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
}

.terms-footer p {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.terms-footer p:last-child {
    margin-bottom: 0;
}

.terms-footer a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

.terms-footer a:hover {
    color: #357ABD;
    text-decoration: underline;
}


/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    font-size: 16px;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header .container {
        padding: 12px 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .appstore-badge img {
        width: 160px;
    }
    
    .download-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .feature-card {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .feature-image {
        margin-bottom: 25px;
        border-radius: 15px;
    }
    
    .feature-image img {
        border-radius: 15px;
    }
    
    .feature-icon {
        font-size: 60px;
        margin-bottom: 25px;
    }
    
    .feature-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .feature-description {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .additional-features {
        margin-top: 50px;
    }
    
    .additional-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .feature-bullet {
        font-size: 18px;
    }
    
    .feature-item span:last-child {
        font-size: 15px;
    }
    
    .feature-title {
        font-size: 22px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .about, .privacy, .terms, .features {
        padding: 60px 0;
    }
    
    .policy-header p,
    .policy-section,
    .terms-section {
        padding: 20px;
    }
    
    .policy-section h3,
    .terms-section h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 50px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .appstore-badge img {
        width: 140px;
    }
    
    .download-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
        border-radius: 18px;
    }
    
    .feature-image {
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .feature-image img {
        border-radius: 12px;
    }
    
    .feature-icon {
        font-size: 50px;
        margin-bottom: 20px;
    }
    
    .feature-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .features-grid {
        gap: 25px;
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}