* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #ff8c42;
    --accent-color: #ffa726;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --background-white: #ffffff;
    --background-light: #fafafa;
    --border-color: #f0f0f0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-orange: rgba(255, 107, 53, 0.2);
    --shadow-orange-dark: rgba(255, 107, 53, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background-white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23f8f8f8" width="1200" height="400"/><circle fill="%23ff6b35" opacity="0.1" cx="100" cy="100" r="20"/><circle fill="%23ff8c42" opacity="0.1" cx="300" cy="200" r="15"/><circle fill="%23ffa726" opacity="0.1" cx="500" cy="150" r="25"/><circle fill="%23ff6b35" opacity="0.1" cx="700" cy="80" r="18"/><circle fill="%23ff8c42" opacity="0.1" cx="900" cy="180" r="22"/><circle fill="%23ffa726" opacity="0.1" cx="1100" cy="120" r="16"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 40px 0 80px;
    position: relative;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 2.5em;
    color: var(--primary-color);
    font-weight: 300;
    font-style: italic;
    border: 2px solid var(--text-color);
    padding: 15px 30px;
    display: inline-block;
    background: white;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

/* Navigation Styles */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Page Styles */
.page {
    display: none;
    padding: 60px 0;
    min-height: 60vh;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-title {
    text-align: center;
    font-size: 3em;
    color: var(--text-lighter);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.section-title {
    text-align: center;
    font-size: 2em;
    color: var(--primary-color);
    font-weight: 300;
    margin: 60px 0 40px;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Content Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
}

.about-content p {
    font-size: 1.2em;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-orange);
    border-color: var(--primary-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Interactive Section */
.interactive-section {
    background: var(--background-light);
    padding: 50px;
    border-radius: 15px;
    margin: 50px 0;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Color Picker */
.color-picker {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.color-btn {
    width: 60px;
    height: 60px;
    border: 3px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.color-btn.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.color-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.color-btn.active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Buttons */
.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin: 10px;
}

.cta-button:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-orange-dark);
}

/* Iframe Styles */
.iframe-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 20px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.iframe-container h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 1px;
}

.iframe-wrapper {
    width: 100%;
    height: 400px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-input {
    width: 70%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    margin-right: 10px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.iframe-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Blog Cards */
.blog-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-orange);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 500;
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card .date {
    color: var(--text-lighter);
    font-size: 0.9em;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.language-selector select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background: white;
    color: var(--text-light);
    font-size: 0.9em;
    transition: border-color 0.3s ease;
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5em;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 5px 20px var(--shadow-light);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .logo {
        font-size: 2em;
    }

    .page-title {
        font-size: 2.5em;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .color-picker {
        justify-content: center;
    }

    .iframe-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .language-selector {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        margin: 20px 0;
    }

    .interactive-section {
        padding: 30px 20px;
    }

    .about-content {
        padding: 20px;
    }

    .blog-preview {
        grid-template-columns: 1fr;
    }
}

/* Additional Animations */
@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes trail-fade {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

/* Scroll Effects */
.scroll-header {
    background: rgba(255, 107, 53, 0.9) !important;
}

/* Print Styles */
@media print {
    .floating-elements,
    .language-selector,
    .mobile-menu,
    .color-picker,
    .cta-button {
        display: none !important;
    }

    .page {
        display: block !important;
    }

    body {
        background: white !important;
    }
}