/* Base styles and resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f9ff;
    background-image: linear-gradient(to bottom, #f5f9ff, #e7f0fd);
    min-height: 100vh;
    position: relative;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: #0F2027;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #4facfe;
    transition: all 0.3s ease;
}

a:hover {
    color: #00f2fe;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

/* Snowflake Animation */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: #a7d8ff;
    font-size: 1em;
    text-shadow: 0 0 3px #fff;
    user-select: none;
    cursor: default;
    animation-name: snowflake-fall, snowflake-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
    opacity: 0.8;
}

.snowflake:nth-of-type(1) {
    left: 10%;
    animation-delay: 0s, 0s;
}

.snowflake:nth-of-type(2) {
    left: 20%;
    animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(3) {
    left: 30%;
    animation-delay: 2s, 0.5s;
}

.snowflake:nth-of-type(4) {
    left: 40%;
    animation-delay: 3s, 1.5s;
}

.snowflake:nth-of-type(5) {
    left: 50%;
    animation-delay: 4s, 0.75s;
}

.snowflake:nth-of-type(6) {
    left: 60%;
    animation-delay: 5s, 1.25s;
}

.snowflake:nth-of-type(7) {
    left: 70%;
    animation-delay: 6s, 0.25s;
}

.snowflake:nth-of-type(8) {
    left: 80%;
    animation-delay: 7s, 1.75s;
}

.snowflake:nth-of-type(9) {
    left: 90%;
    animation-delay: 8s, 0.5s;
}

@keyframes snowflake-fall {
    0% {
        top: -10%;
    }
    100% {
        top: 100%;
    }
}

@keyframes snowflake-shake {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(80px);
    }
}

/* Header Styles */
.top-bar {
    background: linear-gradient(to right, #0F2027, #203A43, #2C5364);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

.main-header {
    background-color: #0F2027;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    flex: 0 0 240px;
}

.logo-svg {
    width: 100%;
    height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover {
    color: #4facfe;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: #0F2027;
    padding: 20px;
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    display: block;
    padding: 5px 0;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-image: linear-gradient(120deg, #0F2027, #203A43, #2C5364);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 0 0 55%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 90%;
    opacity: 0.9;
}

.hero-image {
    flex: 0 0 40%;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.6);
    color: #fff;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #f5f9ff;
}

.features h2, 
.how-to h2,
.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.features h2::after,
.how-to h2::after,
.faq h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 2px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.2);
}

.feature-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* How To Section */
.how-to {
    padding: 100px 0;
    background-color: #e7f0fd;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.step-number {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    color: #555;
}

.cta {
    text-align: center;
    margin-top: 60px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: #f5f9ff;
}

.tabs {
    max-width: 800px;
    margin: 0 auto;
}

.tab-headers {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:focus {
    outline: none;
}

.tab-btn.active {
    color: #4facfe;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.faq-item {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0F2027;
}

.faq-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Keywords Section */
.keywords {
    padding: 40px 0;
    background-color: #e7f0fd;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.keyword-tags span {
    background: linear-gradient(to right, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #0F2027;
    transition: all 0.3s ease;
}

.keyword-tags span:hover {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #0F2027;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 0 0 100%;
    margin-bottom: 40px;
    text-align: center;
}

.logo-footer {
    max-width: 240px;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-col {
    flex: 0 0 30%;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #4facfe;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        flex: 0 0 100%;
        margin-bottom: 40px;
    }
    
    .hero p {
        max-width: 100%;
    }
    
    .hero-image {
        flex: 0 0 100%;
        max-width: 400px;
    }
    
    .footer-col {
        flex: 0 0 48%;
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .tab-headers {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
    
    .footer-col {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .keyword-tags {
        flex-direction: column;
        align-items: center;
    }
}
