/* ============================================
   GuardSOL Landing Page - Styles
   © 2025 GuardSOL
   ============================================ */

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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Header */
header {
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInLeft 0.6s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    animation: fadeInRight 0.6s ease;
}

.nav-links li {
    animation: fadeInUp 0.6s ease;
}

.nav-links li:nth-child(1) {
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}
.nav-links li:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}
.nav-links li:nth-child(3) {
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}
.nav-links li:nth-child(4) {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition:
        opacity 0.3s,
        transform 0.3s;
    display: inline-block;
}

.nav-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
    color: white;
    padding: 60px 2rem 40px;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1782ba;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    animation:
        fadeInUp 0.8s ease 0.4s both,
        float 3s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-image {
    max-width: 600px;
    margin: 3rem auto 0;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Features Section */
.features {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    opacity: 0;
    animation: slideInFromTop 0.8s ease forwards;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    background: #0b1425;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}
.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}
.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(153, 69, 255, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    animation: bounce 0.6s ease;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.about-text p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.about-text p:nth-of-type(1) {
    animation-delay: 0.2s;
}
.about-text p:nth-of-type(2) {
    animation-delay: 0.4s;
}
.about-text p:nth-of-type(3) {
    animation-delay: 0.6s;
}

.about-image {
    opacity: 0;
    animation: fadeInRight 0.8s ease 0.3s forwards;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02) rotate(1deg);
}

/* How It Works */
.how-it-works {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.step:nth-child(1) {
    animation-delay: 0.2s;
}
.step:nth-child(2) {
    animation-delay: 0.4s;
}
.step:nth-child(3) {
    animation-delay: 0.6s;
}

.step:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    animation: rotateIn 0.8s ease;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: rotate(360deg) scale(1.1);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.step p {
    color: white;
    line-height: 1.8;
}

/* Download Section */
.download {
    padding: 100px 2rem;
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
    color: white;
    text-align: center;
}

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

.download p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    color: #1782ba;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.download-buttons .download-button:nth-child(1) {
    animation-delay: 0.2s;
}
.download-buttons .download-button:nth-child(2) {
    animation-delay: 0.4s;
}
.download-buttons .download-button:nth-child(3) {
    animation-delay: 0.6s;
}

.download-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.download-button:active {
    transform: translateY(-2px) scale(1.02);
}

.download-button img {
    width: 30px;
    height: 30px;
}

/* Stats Section */
.stats {
    padding: 80px 2rem;
    background: #1a1a1a;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
    animation-delay: 0.3s;
}
.stat-item:nth-child(3) {
    animation-delay: 0.5s;
}
.stat-item:nth-child(4) {
    animation-delay: 0.7s;
}

.stat-item h3 {
    font-size: 3rem;
    color: #14f195;
    margin-bottom: 0.5rem;
    animation: scaleIn 0.6s ease;
}

.stat-item:hover h3 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #14f195;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #14f195;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.3s,
        transform 0.3s;
}

.social-links a:hover {
    background: #14f195;
    transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Placeholder Images */
.placeholder {
    background: linear-gradient(135deg, #1782ba 0%, #050505 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}
