/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: #000000;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000000;
    margin: 0;
    letter-spacing: -0.03em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #000000;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: #000000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Container and Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    display: none;
    min-height: 100vh;
    padding: 120px 0 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Content */
.hero-content {
    background: #ffffff;
    padding: 3rem;
    border: 1px solid #e0e0e0;
    position: relative;
    margin-bottom: 2rem;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #000000;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.article-content {
    position: relative;
}

.highlight-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #000000;
    transition: all 0.3s ease;
}

.highlight-link:hover {
    background: #000000;
    color: #ffffff;
    padding: 2px 4px;
    margin: 0 -4px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #000000;
    position: relative;
    letter-spacing: -0.03em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #000000;
}

/* About Section */
.about-content {
    background: #ffffff;
    padding: 3rem;
    border: 1px solid #e0e0e0;
    position: relative;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    background: #ffffff;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.feature-icon {
    margin-bottom: 1rem;
}

/* CSS Icons */
.icon-calculator {
    width: 40px;
    height: 40px;
    background: #000000;
    position: relative;
    border-radius: 4px;
}

.icon-calculator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 6px 0 #ffffff, 0 12px 0 #ffffff, 0 18px 0 #ffffff;
}

.icon-chart {
    width: 40px;
    height: 40px;
    background: #000000;
    position: relative;
    clip-path: polygon(0 100%, 25% 60%, 50% 80%, 75% 40%, 100% 20%, 100% 100%);
}

.icon-target {
    width: 40px;
    height: 40px;
    border: 3px solid #000000;
    border-radius: 50%;
    position: relative;
}

.icon-target::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    border-radius: 50%;
}

.icon-target::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
}

.icon-mobile {
    width: 24px;
    height: 40px;
    border: 3px solid #000000;
    border-radius: 6px;
    position: relative;
}

.icon-mobile::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 2px;
    background: #000000;
    border-radius: 1px;
}

.icon-email {
    width: 40px;
    height: 28px;
    border: 3px solid #000000;
    position: relative;
}

.icon-email::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 45%, #000000 45%, #000000 55%, transparent 55%);
}

.icon-download {
    width: 40px;
    height: 40px;
    border: 3px solid #000000;
    position: relative;
}

.icon-download::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 16px;
    background: #000000;
}

.icon-download::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #000000;
}

.icon-clock {
    width: 40px;
    height: 40px;
    border: 3px solid #000000;
    border-radius: 50%;
    position: relative;
}

.icon-clock::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 12px;
    background: #000000;
    transform-origin: bottom;
}

.icon-clock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 8px;
    background: #000000;
    transform-origin: bottom;
    transform: translate(-50%, -50%) rotate(90deg);
}

.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.use-case {
    padding: 1.5rem;
    border-left: 4px solid #000000;
    background: #f8f8f8;
}

.use-case h4 {
    margin-bottom: 0.5rem;
}

.use-case p {
    margin: 0;
    font-size: 0.9rem;
}

/* Privacy Policy */
.privacy-content {
    background: #ffffff;
    padding: 3rem;
    border: 1px solid #e0e0e0;
    position: relative;
}

.privacy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #000000;
}

.privacy-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.privacy-content li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.7rem;
    width: 4px;
    height: 4px;
    background: #000000;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info,
.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
    position: relative;
}

.contact-info::before,
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #000000;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: #000000;
    transform: translateX(5px);
}

.contact-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #666666;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000000;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
}

.submit-btn {
    background: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.submit-btn:hover {
    background: #333333;
    transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid #e0e0e0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link::before {
        display: none;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 100px 0 40px;
    }

    .hero-content,
    .about-content,
    .privacy-content,
    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .use-cases {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content,
    .about-content,
    .privacy-content,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section.active .hero-content,
.section.active .about-content,
.section.active .privacy-content,
.section.active .contact-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Fade-in content animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #333333;
}